chore: Replace campsite.co with campsite.com (#16819)
This commit is contained in:
@@ -36,7 +36,7 @@ async function handler(req: NextApiRequest) {
|
||||
scope: "read_user write_call_room",
|
||||
};
|
||||
const query = stringify(params);
|
||||
const url = `https://auth.campsite.co/oauth/authorize?${query}`;
|
||||
const url = `https://auth.campsite.com/oauth/authorize?${query}`;
|
||||
return { url };
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
const { code } = req.query;
|
||||
const { client_id, client_secret } = await getAppKeysFromSlug("campsite");
|
||||
|
||||
const result = await fetch(`https://auth.campsite.co/oauth/token`, {
|
||||
const result = await fetch(`https://auth.campsite.com/oauth/token`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
grant_type: "authorization_code",
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
"slug": "campsite",
|
||||
"type": "campsite_conferencing",
|
||||
"logo": "icon.png",
|
||||
"url": "https://campsite.co",
|
||||
"url": "https://campsite.com",
|
||||
"variant": "conferencing",
|
||||
"categories": ["conferencing"],
|
||||
"publisher": "Campsite",
|
||||
"email": "support@campsite.co",
|
||||
"email": "support@campsite.com",
|
||||
"appData": {
|
||||
"location": {
|
||||
"type": "integrations:{SLUG}_conferencing",
|
||||
|
||||
@@ -11,7 +11,7 @@ const CampsiteVideoApiAdapter = (credential: CredentialPayload): VideoApiAdapter
|
||||
createMeeting: async (_event: CalendarEvent): Promise<VideoCallData> => {
|
||||
const keys = credential.key as CampsiteToken;
|
||||
const { access_token } = keys;
|
||||
const response = await fetch("https://api.campsite.co/v1/integrations/cal_dot_com/call_rooms", {
|
||||
const response = await fetch("https://api.campsite.com/v1/integrations/cal_dot_com/call_rooms", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: `Bearer ${access_token}`,
|
||||
|
||||
Reference in New Issue
Block a user