Add organisation push notification page

This commit is contained in:
Ben Goldsworthy 2020-11-01 18:05:20 +00:00
parent 02f1d95b52
commit 7ef690a6a8
5 changed files with 132 additions and 1 deletions

View file

@ -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) {