From 7c2fe636011d0b59c161861c1879b6abc6110f9b Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Fri, 10 Dec 2021 19:45:31 +0800 Subject: [PATCH] fix(profile): profile service has been moved to an account --- apps/vue/src/api/account/profiles.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/vue/src/api/account/profiles.ts b/apps/vue/src/api/account/profiles.ts index 5e339f2a2..e33976f03 100644 --- a/apps/vue/src/api/account/profiles.ts +++ b/apps/vue/src/api/account/profiles.ts @@ -8,13 +8,13 @@ import { } from './model/profilesModel'; enum Api { - Get = '/api/identity/my-profile', - Update = '/api/identity/my-profile', - ChangePassword = '/api/identity/my-profile/change-password', - SendChangePhoneNumberCode = '/api/identity/my-profile/send-phone-number-change-code', - ChangePhoneNumber = '/api/identity/my-profile/change-phone-number', - GetTwoFactorEnabled = '/api/identity/my-profile/two-factor', - ChangeTwoFactorEnabled = '/api/identity/my-profile/change-two-factor', + Get = '/api/account/my-profile', + Update = '/api/account/my-profile', + ChangePassword = '/api/account/my-profile/change-password', + SendChangePhoneNumberCode = '/api/account/my-profile/send-phone-number-change-code', + ChangePhoneNumber = '/api/account/my-profile/change-phone-number', + GetTwoFactorEnabled = '/api/account/my-profile/two-factor', + ChangeTwoFactorEnabled = '/api/account/my-profile/change-two-factor', } export const get = () => {