fix: use app.slug not hard coded zoom (#11963)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>pull/12096/head
parent
aabf3c54ea
commit
0dc41592f2
|
@ -12,6 +12,7 @@ import type { VideoApiAdapter, VideoCallData } from "@calcom/types/VideoApiAdapt
|
||||||
import type { ParseRefreshTokenResponse } from "../../_utils/oauth/parseRefreshTokenResponse";
|
import type { ParseRefreshTokenResponse } from "../../_utils/oauth/parseRefreshTokenResponse";
|
||||||
import parseRefreshTokenResponse from "../../_utils/oauth/parseRefreshTokenResponse";
|
import parseRefreshTokenResponse from "../../_utils/oauth/parseRefreshTokenResponse";
|
||||||
import refreshOAuthTokens from "../../_utils/oauth/refreshOAuthTokens";
|
import refreshOAuthTokens from "../../_utils/oauth/refreshOAuthTokens";
|
||||||
|
import metadata from "../_metadata";
|
||||||
import { getZoomAppKeys } from "./getZoomAppKeys";
|
import { getZoomAppKeys } from "./getZoomAppKeys";
|
||||||
|
|
||||||
/** @link https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate */
|
/** @link https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate */
|
||||||
|
@ -91,7 +92,7 @@ const zoomAuth = (credential: CredentialPayload) => {
|
||||||
grant_type: "refresh_token",
|
grant_type: "refresh_token",
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
"zoom",
|
metadata.slug,
|
||||||
credential.userId
|
credential.userId
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue