aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/friends/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/admin/friends/shared')
-rw-r--r--client/src/app/admin/friends/shared/friend.model.ts2
-rw-r--r--client/src/app/admin/friends/shared/friend.service.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/admin/friends/shared/friend.model.ts b/client/src/app/admin/friends/shared/friend.model.ts
index 7cb28f440..3c23feebc 100644
--- a/client/src/app/admin/friends/shared/friend.model.ts
+++ b/client/src/app/admin/friends/shared/friend.model.ts
@@ -1,6 +1,6 @@
1export interface Friend { 1export interface Friend {
2 id: string; 2 id: string;
3 url: string; 3 host: string;
4 score: number; 4 score: number;
5 createdDate: Date; 5 createdDate: Date;
6} 6}
diff --git a/client/src/app/admin/friends/shared/friend.service.ts b/client/src/app/admin/friends/shared/friend.service.ts
index 75826fc17..8a1ba6b02 100644
--- a/client/src/app/admin/friends/shared/friend.service.ts
+++ b/client/src/app/admin/friends/shared/friend.service.ts
@@ -21,9 +21,9 @@ export class FriendService {
21 .catch((res) => this.restExtractor.handleError(res)); 21 .catch((res) => this.restExtractor.handleError(res));
22 } 22 }
23 23
24 makeFriends(notEmptyUrls) { 24 makeFriends(notEmptyHosts) {
25 const body = { 25 const body = {
26 urls: notEmptyUrls 26 hosts: notEmptyHosts
27 }; 27 };
28 28
29 return this.authHttp.post(FriendService.BASE_FRIEND_URL + 'makefriends', body) 29 return this.authHttp.post(FriendService.BASE_FRIEND_URL + 'makefriends', body)