diff --git a/src/services/community.service.js b/src/services/community.service.js index 15ab272a15178bfb18d742dd0363bb92a4ff3617..d2bf0954527324357777de183dda46891b321418 100644 --- a/src/services/community.service.js +++ b/src/services/community.service.js @@ -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) => {