Skip to content

Commit 63df085

Browse files
Merge branch 'release/0.1.1'
2 parents 7b295a0 + cb6d446 commit 63df085

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@juztcode/angular-auth",
33
"description": "authentication package for angular 5 using HttpClientModule",
44
"author": "randilfernando <randil.fernando@outlook.com>",
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"license": "MIT",
77
"scripts": {
88
"build": "ng-packagr -p ng-package.json",

src/modules/auth/providers/auth/auth.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class AuthProvider {
140140
}
141141

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

0 commit comments

Comments
 (0)