Add organisation push notification page
This commit is contained in:
parent
02f1d95b52
commit
7ef690a6a8
5 changed files with 132 additions and 1 deletions
|
@ -92,12 +92,22 @@ export class ApiService {
|
|||
data.package_name = 'Foodloop Web';
|
||||
data.version_code = 'dev';
|
||||
data.version_number = 'dev';
|
||||
return this.http.post<any>(
|
||||
console.log(this.apiUrl + '/feedback');
|
||||
return this.http.post<any>(
|
||||
this.apiUrl + '/feedback',
|
||||
data
|
||||
);
|
||||
}
|
||||
|
||||
// Sends push notifications
|
||||
|
||||
public sendMessage(data) {
|
||||
return this.http.post<any>(
|
||||
this.apiUrl + '/send-message',
|
||||
data
|
||||
);
|
||||
}
|
||||
|
||||
// gets transaction list for log
|
||||
|
||||
public transList(data) {
|
||||
|
|
Reference in a new issue