Skip to content

Commit 0c64a0f

Browse files
Stefan SchubertStefan Schubert
authored andcommitted
fix typo
1 parent 1e5c8f9 commit 0c64a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mustache/api.service.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export class {{classname}} {
353353
this.configuration.beforeHandler('{{operationIdOriginal}}', '{{httpMethod}}'.toUpperCase());
354354
}
355355
const afterHandler = (result: any, stopCancellation = true) => {
356-
// stop cancelation to prevent calling afterHandler on next service call
356+
// stop cancellation to prevent calling afterHandler on next service call
357357
if (stopCancellation && cancelPreviousRequest && this.cancelMap['{{operationIdOriginal}}']) {
358358
this.cancelMap['{{operationIdOriginal}}'].complete();
359359
delete this.cancelMap['{{operationIdOriginal}}'];
@@ -413,7 +413,7 @@ export class {{classname}} {
413413
this.configuration.beforeHandler('{{operationIdOriginal}}', '{{httpMethod}}'.toUpperCase());
414414
}
415415
const afterHandler = (result: any, stopCancellation = true) => {
416-
// stop cancelation to prevent calling afterHandler on next service call
416+
// stop cancellation to prevent calling afterHandler on next service call
417417
if (stopCancellation && cancelPreviousRequest && this.cancelMap['{{operationIdOriginal}}']) {
418418
this.cancelMap['{{operationIdOriginal}}'].complete();
419419
delete this.cancelMap['{{operationIdOriginal}}'];

0 commit comments

Comments
 (0)