En-/decryption fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import axios from 'axios';
|
||||
import apiClient from './axios';
|
||||
import store from '../store';
|
||||
|
||||
const loadMenu = async () => {
|
||||
@@ -7,7 +7,7 @@ const loadMenu = async () => {
|
||||
if (!userId) {
|
||||
throw new Error('User ID not found');
|
||||
}
|
||||
const response = await axios.get('/api/navigation/' + userId);
|
||||
const response = await apiClient.get('/api/navigation/' + userId);
|
||||
return response.data;
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
|
||||
Reference in New Issue
Block a user