Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atierian committed Oct 2, 2024
1 parent 7d4a3e5 commit a70357d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export function request(ctx) {

export function response(ctx) {
return {};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -349,16 +349,12 @@ export class ConversationResolverGenerator {
return ctx.api.host.addLambdaDataSource(functionDataSourceId, referencedFunction, {}, functionDataSourceScope);
}

private addInitSlotToListMessagesPipeline(
ctx: TransformerContextProvider,
directive: ConversationDirectiveConfiguration,
): void {
private addInitSlotToListMessagesPipeline(ctx: TransformerContextProvider, directive: ConversationDirectiveConfiguration): void {
const messageModelName = directive.messageModel.messageModel.name.value;
const pluralized = pluralize(messageModelName);
const listMessagesResolver = ctx.resolvers.getResolver('Query', `list${pluralized}`) as TransformerResolver;
const initResolverFn = listMessageInitMappingTemplate(directive);
listMessagesResolver.addJsFunctionToSlot('init', initResolverFn);

}

/**
Expand Down

0 comments on commit a70357d

Please sign in to comment.