diff options
author | Felix <me@nutomic.com> | 2020-01-28 16:50:40 +0100 |
---|---|---|
committer | Felix <me@nutomic.com> | 2020-01-31 14:17:37 +0100 |
commit | 7b4bf68486ad46b70e761b88be4819d4fc044f91 (patch) | |
tree | 92992e8a69da13a6c1f700affb5d73b68d88d87b /ui/src/services | |
parent | 8cfd5f9266a0a93dc47ec2ab6060ee0435276aba (diff) |
Add script to test http api, fix two api calls
Diffstat (limited to 'ui/src/services')
-rw-r--r-- | ui/src/services/WebSocketService.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts index e72a2871..b4042194 100644 --- a/ui/src/services/WebSocketService.ts +++ b/ui/src/services/WebSocketService.ts @@ -116,7 +116,7 @@ export class WebSocketService { public listCategories() { this.subject.next( - this.wsSendWrapper(UserOperation.ListCategories, undefined) + this.wsSendWrapper(UserOperation.ListCategories, {}) ); } @@ -255,7 +255,7 @@ export class WebSocketService { } public getSite() { - this.subject.next(this.wsSendWrapper(UserOperation.GetSite, undefined)); + this.subject.next(this.wsSendWrapper(UserOperation.GetSite, {})); } public search(form: SearchForm) { |