feat: implement WikiRepository with caching and database integration for wiki management
All checks were successful
Build and Release / release (push) Successful in 1m30s
All checks were successful
Build and Release / release (push) Successful in 1m30s
This commit is contained in:
@@ -170,7 +170,6 @@ func (r *wikiRepository) GetByID(ctx context.Context, id pgtype.UUID) (*models.W
|
|||||||
UpdatedAt: convert.TimeToPtr(row.UpdatedAt),
|
UpdatedAt: convert.TimeToPtr(row.UpdatedAt),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch content samples
|
|
||||||
samples, err := r.q.GetWikiContentByWikiID(ctx, row.ID)
|
samples, err := r.q.GetWikiContentByWikiID(ctx, row.ID)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
for _, sample := range samples {
|
for _, sample := range samples {
|
||||||
|
|||||||
Reference in New Issue
Block a user