mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix(editor): Update cloud endpoint paths (no-changelog) (#7274)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
parent
861cac5257
commit
d936ca0c9f
|
@ -10,9 +10,9 @@ export async function getCurrentUsage(context: IRestApiContext): Promise<Instanc
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getCloudUserInfo(context: IRestApiContext): Promise<Cloud.UserAccount> {
|
export async function getCloudUserInfo(context: IRestApiContext): Promise<Cloud.UserAccount> {
|
||||||
return get(context.baseUrl, '/cloud/proxy/admin/user/me');
|
return get(context.baseUrl, '/cloud/proxy/user/me');
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function confirmEmail(context: IRestApiContext): Promise<Cloud.UserAccount> {
|
export async function confirmEmail(context: IRestApiContext): Promise<Cloud.UserAccount> {
|
||||||
return post(context.baseUrl, '/cloud/proxy/admin/user/resend-confirmation-email');
|
return post(context.baseUrl, '/cloud/proxy/user/resend-confirmation-email');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue