refactor: move login from function to middleware

This commit is contained in:
Kentai Radiquum 2025-03-22 01:15:48 +05:00
parent 19dbd69fd5
commit 0bf00b11e5
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 96 additions and 92 deletions

View file

@ -13,6 +13,7 @@ export const ENDPOINTS = {
licensed: `${API_PREFIX}/release/streaming/platform`,
},
user: {
auth: `${API_PREFIX}/auth/signIn`,
profile: `${API_PREFIX}/profile`,
bookmark: `${API_PREFIX}/profile/list`,
history: `${API_PREFIX}/history`,