Skip to content
Snippets Groups Projects
Commit 7f325497 authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

fix wrong url

parent 0030efef
No related branches found
No related tags found
1 merge request!128Admin page guard
......@@ -17,7 +17,7 @@ class UserService {
async getAdminList() {
return await axios
.get(API_URL + "/communities/admin", {
.get(API_URL + "communities/admin", {
headers: tokenHeader(),
})
.then((res) => {
......@@ -42,14 +42,14 @@ class UserService {
async setListingToDeleted(listingId) {
return await axios
.delete(API_URL + "listing/" + listingId, {
headers: tokenHeader()
headers: tokenHeader(),
})
.then((res) => {
return res.data;
})
.catch((err) => {
console.error(err);
})
console.error(err);
});
}
async getRenterHistory() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment