Skip to content

Commit 01c2f46

Browse files
committed
review comments
1 parent 773d5df commit 01c2f46

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/amplify-graphql-model-transformer/src/resolvers/subscriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export const generateSubscriptionRequestTemplate = (): string => {
77

88
export const generateSubscriptionResponseTemplate = (): string => {
99
const statements: Expression[] = [toJson(nul())];
10-
return printBlock('Subscription Request template')(compoundExpression(statements));
10+
return printBlock('Subscription Resonse template')(compoundExpression(statements));
1111
};

packages/amplify-graphql-transformer-core/src/transformation/transform.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ export class GraphQLTransform {
189189
}
190190
}
191191

192-
// transform schema
193-
for (const transformer of this.transformers) {
194-
if (isFunction(transformer.prepare)) {
195-
transformer.prepare(context);
196-
}
197-
}
198-
199192
// Prepare
200193
for (const transformer of this.transformers) {
201194
if (isFunction(transformer.prepare)) {

0 commit comments

Comments
 (0)