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

big D in service

parent b72b65b1
No related branches found
No related tags found
2 merge requests!87Community request,!86Community admin
......@@ -4,9 +4,9 @@ import axios from "axios";
const API_URL = process.env.VUE_APP_BASEURL;
class CommunityService {
async getCommunity(communityId) {
async getCommunity(communityID) {
return await axios
.get(API_URL + "community/" + communityId, {
.get(API_URL + "community/" + communityID, {
headers: tokenHeader(),
})
.then((response) => {
......@@ -28,9 +28,9 @@ class CommunityService {
});
}
async getCommunityMembers(communityId) {
async getCommunityMembers(communityID) {
return await axios
.get(API_URL + "community/" + communityId + "/members", {
.get(API_URL + "community/" + communityID + "/members", {
headers: tokenHeader(),
})
.then((response) => {
......
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