API & Client - rename data export endpoints
This commit is contained in:
@ -452,7 +452,7 @@ export const actions: ActionTree<IAuthUserState, IRootState> &
|
||||
): void {
|
||||
context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)
|
||||
authApi
|
||||
.post('auth/profile/export/request')
|
||||
.post('auth/account/export/request')
|
||||
.then((res) => {
|
||||
if (res.data.status === 'success') {
|
||||
context.commit(
|
||||
@ -470,7 +470,7 @@ export const actions: ActionTree<IAuthUserState, IRootState> &
|
||||
): void {
|
||||
context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)
|
||||
authApi
|
||||
.get('auth/profile/export')
|
||||
.get('auth/account/export')
|
||||
.then((res) => {
|
||||
if (res.data.status === 'success') {
|
||||
context.commit(
|
||||
|
Reference in New Issue
Block a user