mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 01:09:30 +00:00
split between userConfig and userAccount
This commit is contained in:
8
frontend/src/api/loader/loadUserAccount.ts
Normal file
8
frontend/src/api/loader/loadUserAccount.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import APIClient from '../../functions/APIClient';
|
||||
import { UserAccountType } from '../../pages/Base';
|
||||
|
||||
const loadUserAccount = async (): Promise<UserAccountType> => {
|
||||
return APIClient('/api/user/account/');
|
||||
};
|
||||
|
||||
export default loadUserAccount;
|
||||
Reference in New Issue
Block a user