@riocrypto/common 1.0.893 → 1.0.894
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,7 +74,7 @@ export declare class RioAdminClient {
|
|
|
74
74
|
acceptAdminTasks(): Promise<Admin>;
|
|
75
75
|
stopAdminTasks(): Promise<Admin>;
|
|
76
76
|
getAdminTasks(taskTypes: AdminTaskType[]): Promise<AdminTask[]>;
|
|
77
|
-
|
|
77
|
+
getAdmins(): Promise<Admin[]>;
|
|
78
78
|
markAdminTaskComplete(id: string): Promise<AdminTask>;
|
|
79
79
|
createUser(user: UserInput): Promise<User>;
|
|
80
80
|
getBankPayment(orderId: string): Promise<BankPayment>;
|
|
@@ -203,9 +203,9 @@ class RioAdminClient {
|
|
|
203
203
|
return data;
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
getAdmins() {
|
|
207
207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
-
const { data } = yield this.axios.get("/api/admin/
|
|
208
|
+
const { data } = yield this.axios.get("/api/admin/all");
|
|
209
209
|
return data;
|
|
210
210
|
});
|
|
211
211
|
}
|