feat: implement WikiRepository with caching and database integration for wiki management
All checks were successful
Build and Release / release (push) Successful in 1m30s

This commit is contained in:
2026-05-14 12:58:48 +07:00
parent 8aceee9130
commit a5a597f2a1

View File

@@ -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 {