Fix order view
This commit is contained in:
1 parent
871f8cac7a
commit
c27dc747b7
7 files changed
+34
-20
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user