@riocrypto/common 1.0.778 → 1.0.780
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.
|
@@ -109,9 +109,9 @@ class RioAdminClient {
|
|
|
109
109
|
return data;
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
getBridgeOnboardingLinks(userId) {
|
|
113
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
const { data } = yield this.axios.
|
|
114
|
+
const { data } = yield this.axios.get(`/api/users/${userId}/us/onboarding-links`);
|
|
115
115
|
return data;
|
|
116
116
|
});
|
|
117
117
|
}
|
|
@@ -216,7 +216,7 @@ class RioAdminClient {
|
|
|
216
216
|
}
|
|
217
217
|
createBridgePlaidLink(userId) {
|
|
218
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
-
const response = yield this.axios.post(`/api/bank/us/link`, {
|
|
219
|
+
const response = yield this.axios.post(`/api/bank/us/accounts/link`, {
|
|
220
220
|
userId,
|
|
221
221
|
});
|
|
222
222
|
return response.data.url;
|