feat: add text color
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ export const authApi = {
|
||||
},
|
||||
|
||||
logout: async (token: string): Promise<void> => {
|
||||
return apiClient.post('/auth/logout', {}, token);
|
||||
return apiClient.put('/auth/logout', {}, token);
|
||||
},
|
||||
|
||||
getProfile: async (token: string): Promise<any> => {
|
||||
|
||||
@@ -37,7 +37,6 @@ export const packagesApi = {
|
||||
const formData = new FormData();
|
||||
|
||||
// Add method spoofing for Laravel
|
||||
formData.append('_method', 'PUT');
|
||||
|
||||
// Append all fields to FormData
|
||||
Object.entries(data).forEach(([key, value]) => {
|
||||
|
||||
Reference in New Issue
Block a user