fix(editor): Update cloud endpoint paths (no-changelog) (#7274)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Milorad FIlipović 2023-09-27 13:44:03 +02:00 committed by GitHub
parent 861cac5257
commit d936ca0c9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,9 @@ export async function getCurrentUsage(context: IRestApiContext): Promise<Instanc
}
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> {
return post(context.baseUrl, '/cloud/proxy/admin/user/resend-confirmation-email');
return post(context.baseUrl, '/cloud/proxy/user/resend-confirmation-email');
}