We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a5008d commit 302870bCopy full SHA for 302870b
1 file changed
src/schema/feeds.ts
@@ -1606,7 +1606,9 @@ export const resolvers: IResolvers<unknown, BaseContext> = {
1606
feed: async (source, args: ConfiguredFeedArgs, ctx: AuthContext, info) => {
1607
if (args.version >= 2) {
1608
const shouldApplyNoAi = args.noAi || (await isSavedNoAiEnabled(ctx));
1609
- const getGeneratorWithNoAi = (generator: FeedGenerator): FeedGenerator =>
+ const getGeneratorWithNoAi = (
1610
+ generator: FeedGenerator,
1611
+ ): FeedGenerator =>
1612
shouldApplyNoAi ? wrapGeneratorWithNoAi(generator) : generator;
1613
1614
if (args.ranking === Ranking.POPULARITY) {
0 commit comments