Skip to content

Commit 302870b

Browse files
committed
fix: satisfy feed resolver lint formatting
Reformat the No AI generator helper in feeds.ts so the API PR matches CircleCI's prettier lint expectations. Made-with: Cursor
1 parent 2a5008d commit 302870b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/schema/feeds.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,9 @@ export const resolvers: IResolvers<unknown, BaseContext> = {
16061606
feed: async (source, args: ConfiguredFeedArgs, ctx: AuthContext, info) => {
16071607
if (args.version >= 2) {
16081608
const shouldApplyNoAi = args.noAi || (await isSavedNoAiEnabled(ctx));
1609-
const getGeneratorWithNoAi = (generator: FeedGenerator): FeedGenerator =>
1609+
const getGeneratorWithNoAi = (
1610+
generator: FeedGenerator,
1611+
): FeedGenerator =>
16101612
shouldApplyNoAi ? wrapGeneratorWithNoAi(generator) : generator;
16111613

16121614
if (args.ranking === Ranking.POPULARITY) {

0 commit comments

Comments
 (0)