проверка активности клиета и изменение своего профиля
This commit is contained in:
@@ -19,7 +19,7 @@ function hideLoader() {
|
||||
}
|
||||
|
||||
export async function apiRequest(url, payload = {}, method = 'POST') {
|
||||
method = method.toUpperCase();
|
||||
method = typeof method === 'string' ? method.toUpperCase() : 'POST';
|
||||
|
||||
let finalUrl = url;
|
||||
let options = {
|
||||
|
||||
Reference in New Issue
Block a user