From b3d404761cf4d1802b50a977c203cd44dcdc5752 Mon Sep 17 00:00:00 2001 From: Barry Low Date: Sun, 17 Mar 2019 21:17:48 +0100 Subject: [PATCH] Update fbByFbSlug query --- api/src/graphql/resolvers/Query/FinancialBeing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/graphql/resolvers/Query/FinancialBeing.js b/api/src/graphql/resolvers/Query/FinancialBeing.js index b7211cb40..d89f0c7ec 100644 --- a/api/src/graphql/resolvers/Query/FinancialBeing.js +++ b/api/src/graphql/resolvers/Query/FinancialBeing.js @@ -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 }