sdk 53
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import axios from "axios";
|
||||
|
||||
// const API_URL = "https://testowe.zikor.pl/api/v1";
|
||||
const API_URL = "http://10.224.1.86:8080/api/v1";
|
||||
const API_URL = "https://testowe.zikor.pl/api/v1";
|
||||
|
||||
export async function listCategories() {
|
||||
try {
|
||||
const response = await axios.get(`${API_URL}/vars/categories`);
|
||||
console.log("Response", response.data, "status code: ", response.status);
|
||||
return response.data;
|
||||
} catch (err) {
|
||||
console.error("Nie udało się pobrać listy kategorii.", err.response.status);
|
||||
|
||||
3108
ArtisanConnect/package-lock.json
generated
3108
ArtisanConnect/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -26,30 +26,30 @@
|
||||
"@tanstack/react-query": "^5.74.4",
|
||||
"axios": "^1.9.0",
|
||||
"babel-plugin-module-resolver": "^5.0.2",
|
||||
"expo": "~52.0.46",
|
||||
"expo-constants": "~17.0.8",
|
||||
"expo-image-picker": "~16.0.6",
|
||||
"expo-linking": "~7.0.5",
|
||||
"expo-router": "~4.0.20",
|
||||
"expo-status-bar": "~2.0.1",
|
||||
"expo": "^53.0.0",
|
||||
"expo-constants": "~17.1.5",
|
||||
"expo-image-picker": "~16.1.4",
|
||||
"expo-linking": "~7.1.4",
|
||||
"expo-router": "~5.0.5",
|
||||
"expo-status-bar": "~2.2.3",
|
||||
"form-data": "^4.0.2",
|
||||
"fs": "^0.0.1-security",
|
||||
"nativewind": "^4.1.23",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-native": "0.76.9",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-native": "0.79.2",
|
||||
"react-native-css-interop": "^0.1.22",
|
||||
"react-native-reanimated": "3.16.1",
|
||||
"react-native-safe-area-context": "4.12.0",
|
||||
"react-native-screens": "~4.4.0",
|
||||
"react-native-svg": "15.8.0",
|
||||
"react-native-web": "~0.19.13",
|
||||
"react-native-reanimated": "3.17.4",
|
||||
"react-native-safe-area-context": "5.4.0",
|
||||
"react-native-screens": "~4.10.0",
|
||||
"react-native-svg": "15.11.2",
|
||||
"react-native-web": "~0.20.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"zustand": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.0",
|
||||
"@types/react": "~18.3.12",
|
||||
"@types/react": "~19.0.10",
|
||||
"jscodeshift": "^0.15.2"
|
||||
},
|
||||
"private": true
|
||||
|
||||
Reference in New Issue
Block a user