Update fbByFbSlug query

This commit is contained in:
Barry Low committed 2019-03-17 21:17:48 +01:00
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
}