Fixed build

This commit is contained in:
Leon Mika 2026-03-29 20:29:42 +11:00
parent deca23b599
commit d21aeadd56

View file

@ -83,7 +83,7 @@ func (db *Provider) SelectCategoriesOfPost(ctx context.Context, postID int64) ([
} }
func (db *Provider) SelectPublishedPostsOfCategory(ctx context.Context, categoryID int64, pp PagingParams) ([]*models.Post, error) { func (db *Provider) SelectPublishedPostsOfCategory(ctx context.Context, categoryID int64, pp PagingParams) ([]*models.Post, error) {
rows, err := db.queries.SelectPostsOfCategory(ctx, sqlgen.SelectPostsOfCategoryParams{ rows, err := db.queries.SelectPublishedPostsOfCategory(ctx, sqlgen.SelectPublishedPostsOfCategoryParams{
CategoryID: categoryID, CategoryID: categoryID,
Limit: pp.Limit, Limit: pp.Limit,
Offset: pp.Offset, Offset: pp.Offset,