File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/modules/auth/providers/auth Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments