Creating admin pages, new brand API endpoint
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import axios from "axios";
|
||||
|
||||
let BASE_URL = "http://localhost:3000/brands"
|
||||
|
||||
export async function getAllBrands() {
|
||||
return await axios.get(BASE_URL)
|
||||
}
|
||||
Reference in New Issue
Block a user