Fix order view

This commit is contained in:
tobias committed 2024-09-20 15:30:40 +02:00
1 parent 871f8cac7a
commit c27dc747b7
7 files changed
+34 -20

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import axios from "axios"
const BASE_URL = "http://localhost:3000/orders"
export async function getUserOrders(userId: number) {
return axios.get(BASE_URL + "/" + userId)
}