Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
randilfernando committed Feb 21, 2018
2 parents 7b295a0 + cb6d446 commit 63df085
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
Expand Up @@ -2,7 +2,7 @@
"name": "@juztcode/angular-auth",
"description": "authentication package for angular 5 using HttpClientModule",
"author": "randilfernando <[email protected]>",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"scripts": {
"build": "ng-packagr -p ng-package.json",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/auth/providers/auth/auth.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class AuthProvider {
}

private async sendLoginRequest(requestBody: any): Promise<Auth> {
const data = await this.http.post<any>(this.authConfig.loginUrl, JSON.stringify(requestBody)).toPromise();
const data = await this.http.post<any>(this.authConfig.loginUrl, requestBody).toPromise();
return this.authConfig.convertToAuthType(data);
}

Expand Down

0 comments on commit 63df085

Please sign in to comment.