Merge branch 'mobilefirst' of https://bitbucket.org/equilibriumito/gabinete-digital into developer-c

This commit is contained in:
tiago.kayaya
2021-02-25 09:54:23 +01:00
1569 changed files with 511085 additions and 569 deletions
+5 -3
View File
@@ -98,12 +98,14 @@ export class LoginPage implements OnInit {
this.storageService.get(AuthConnstants.USER).then(res => {
console.log('USERID', res);
const headers = { 'Authorization': 'Basic cGF1bG8ucGludG9AZ2FiaW5ldGVkaWdpdGFsLmxvY2FsOnRhYnRlc3RlQDAwNg==' };
const body = { UserId: res,
const body = {
UserId: res,
TokenId: token.value,
Status: 1,
Service: 1 };
Service: 1
};
this.http.post<Token>('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body,{headers}).subscribe(data => {
this.http.post<Token>('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body, { headers }).subscribe(data => {
console.log('TOKEN USER MIDLE', data);
})
});