mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
bug: fix bug blog
This commit is contained in:
@@ -7,7 +7,11 @@ export type BlogVariables = {
|
||||
excludeBlogIds?: string[],
|
||||
take?: number,
|
||||
skip?:number,
|
||||
isFeatured?:{eq?:Boolean},
|
||||
filter?:{
|
||||
isFeatured?:{
|
||||
eq?:Boolean
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default function getAllBlogsOperation({
|
||||
@@ -35,9 +39,8 @@ export default function getAllBlogsOperation({
|
||||
excludeBlogIds: vars.excludeBlogIds,
|
||||
options: {
|
||||
take: vars.take,
|
||||
skip: vars.skip,
|
||||
filter: {
|
||||
isFeatured: vars.isFeatured
|
||||
isFeatured: vars.filter?.isFeatured
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user