We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b4569b commit e83f42fCopy full SHA for e83f42f
1 file changed
src/providers/user/user.ts
@@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
3
4
import { ENV } from '@app/env';
5
6
-/*
+/*
7
Generated class for the UserProvider provider.
8
9
See https://angular.io/guide/dependency-injection for more info on providers
@@ -20,11 +20,11 @@ export class UserProvider {
20
21
sendReg(user) {
22
console.log('sendReg() runs')
23
- return this.http.post(this.requestUrl, user)
+ return this.http.post(this.requestUrl + 'appUsers', user)
24
}
25
26
27
login(creds) {
28
- return this.http.post(this.requestUrl + '/login', creds);
+ return this.http.post(this.requestUrl + 'appUsers/login', creds);
29
30
0 commit comments