submit order base

This commit is contained in:
hamid zarghami
2026-01-27 11:16:46 +03:30
parent bc58e6b564
commit 1f33fa7a7f
8 changed files with 94 additions and 34 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ const instance = axios.create({
instance.interceptors.request.use(
(config) => {
const token = getToken();
const token =
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIwMUtGWjREWDhTNVJNOFMzMDc1NVZTWUNQUSIsImlhdCI6MTc2OTQ5NzYyMSwiZXhwIjoxNzY5NDk4ODIxfQ.YK6hQh3y-msWITy2sdLMsmwBvwXC5iHa3OxtWphyWQI" ||
getToken();
if (token) {
config.headers.Authorization = `Bearer ${token}`;
}