Skip to content

Commit 5239463

Browse files
authored
Merge pull request #370 from eliaspr/eliaspr/fix-observables-gen
Fix compile error in apiService template when using observables Fixes #369
2 parents 4d6307f + 8c66633 commit 5239463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/apiService.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class {{apiServiceClass}} {
4949
{{#if promises}}
5050
return (await resp).body;
5151
{{else}}
52-
return obs.pipe(map(r => r.body));
52+
return resp.pipe(map(r => r.body));
5353
{{/if}}
5454
}
5555

0 commit comments

Comments
 (0)