Update fbByFbSlug query
This commit is contained in:
1 parent
146527815c
commit
b3d404761c
1 file changed
+1
-1
@@ -11,7 +11,7 @@ export const fbByFbId = async (parent, { fbId }, ctx, info) => {
|
||||
|
||||
export const fbByFbSlug = async (parent, { fbSlug }, ctx, info) => {
|
||||
logger.info(`fbByFbSlug: ${fbSlug}`)
|
||||
let FB = await ctx.db.query.financialBeings({where: {slug: fbSlug}}, FB_FRAGMENT)
|
||||
let FB = await ctx.db.query.financialBeingses({where: {slug: fbSlug}}, FB_FRAGMENT)
|
||||
logger.info(`fbByFbSlug response: ${JSON.stringify(await FB)}`)
|
||||
return FB
|
||||
}
|
||||
Reference in new issue
Block a user