diff --git a/pages/api/cancel.ts b/pages/api/cancel.ts index c6780a2aa1..bd796e2bd5 100644 --- a/pages/api/cancel.ts +++ b/pages/api/cancel.ts @@ -4,10 +4,10 @@ import async from "async"; import { refund } from "@ee/lib/stripe/server"; import { asStringOrNull } from "@lib/asStringOrNull"; +import { getSession } from "@lib/auth"; import { CalendarEvent, deleteEvent } from "@lib/calendarClient"; import prisma from "@lib/prisma"; import { deleteMeeting } from "@lib/videoClient"; -import { getSession } from "@lib/auth"; export default async function handler(req, res) { // just bail if it not a DELETE diff --git a/pages/cancel/[uid].tsx b/pages/cancel/[uid].tsx index 32d0833c4e..0d14bd4daa 100644 --- a/pages/cancel/[uid].tsx +++ b/pages/cancel/[uid].tsx @@ -1,12 +1,12 @@ import { CalendarIcon, XIcon } from "@heroicons/react/solid"; import dayjs from "dayjs"; import utc from "dayjs/plugin/utc"; +import { getSession } from "next-auth/client"; import { useRouter } from "next/router"; import { useState } from "react"; import prisma from "@lib/prisma"; import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@lib/telemetry"; -import { getSession } from "next-auth/client"; import { HeadSeo } from "@components/seo/head-seo"; import { Button } from "@components/ui/Button";