Skip to content

Commit

Permalink
fix: broken import in ng2 template
Browse files Browse the repository at this point in the history
  • Loading branch information
yhnavein committed Oct 27, 2023
1 parent a121df1 commit 42dbb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swaggie",
"version": "0.8.2",
"version": "0.8.3",
"description": "Generate ES6 or TypeScript service integration code from an OpenAPI spec",
"author": {
"name": "Piotr Dabrowski",
Expand Down
2 changes: 1 addition & 1 deletion templates/ng2/baseClient.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import { Observable, throwError as _observableThrow, of as _observableOf } from "rxjs";
import { Injectable, Inject, Optional, InjectionToken } from "@angular/core";
import { HttpClient, HttpHeaders, HttpResponse, HttpResponseBase } from "@angular/common/httpClient";
import { HttpClient, HttpHeaders, HttpResponse, HttpResponseBase } from "@angular/common/http";

export const <%= (it.servicePrefix || 'API').toUpperCase() -%>_BASE_URL = new InjectionToken<string>("<%= (it.servicePrefix || 'API').toUpperCase() -%>_BASE_URL");

Expand Down

0 comments on commit 42dbb35

Please sign in to comment.