From b084cf550ee84f6474963d0cb4ae0cf8acfd9c37 Mon Sep 17 00:00:00 2001 From: Erik Borgeteien Hansen <erik@erikbhan.no> Date: Tue, 3 May 2022 13:28:36 +0200 Subject: [PATCH] big D in service --- src/services/community.service.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/community.service.js b/src/services/community.service.js index 15ab272..d2bf095 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) => { -- GitLab