From 9c621bf7265ccdc2a3431245b159a504da77a35c Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Mon, 25 Sep 2023 10:50:17 +0100 Subject: [PATCH] Update the oauth imports to _utils/oauth (#11507) --- packages/app-store/zohocalendar/api/add.ts | 2 +- packages/app-store/zohocalendar/api/callback.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-store/zohocalendar/api/add.ts b/packages/app-store/zohocalendar/api/add.ts index 59a9868ff7..2e21b71646 100644 --- a/packages/app-store/zohocalendar/api/add.ts +++ b/packages/app-store/zohocalendar/api/add.ts @@ -4,8 +4,8 @@ import { stringify } from "querystring"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { defaultHandler, defaultResponder } from "@calcom/lib/server"; -import { encodeOAuthState } from "../../_utils/encodeOAuthState"; import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug"; +import { encodeOAuthState } from "../../_utils/oauth/encodeOAuthState"; import config from "../config.json"; import { appKeysSchema as zohoKeysSchema } from "../zod"; diff --git a/packages/app-store/zohocalendar/api/callback.ts b/packages/app-store/zohocalendar/api/callback.ts index e46cd413ea..1cbb4084b9 100644 --- a/packages/app-store/zohocalendar/api/callback.ts +++ b/packages/app-store/zohocalendar/api/callback.ts @@ -6,10 +6,10 @@ import { getSafeRedirectUrl } from "@calcom/lib/getSafeRedirectUrl"; import logger from "@calcom/lib/logger"; import { defaultHandler, defaultResponder } from "@calcom/lib/server"; -import createOAuthAppCredential from "../../_utils/createOAuthAppCredential"; -import { decodeOAuthState } from "../../_utils/decodeOAuthState"; import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug"; import getInstalledAppPath from "../../_utils/getInstalledAppPath"; +import createOAuthAppCredential from "../../_utils/oauth/createOAuthAppCredential"; +import { decodeOAuthState } from "../../_utils/oauth/decodeOAuthState"; import config from "../config.json"; import type { ZohoAuthCredentials } from "../types/ZohoCalendar"; import { appKeysSchema as zohoKeysSchema } from "../zod";