Fix incorrect import path in award.ts
cgen-b4dd690966fb4893b659ba59f8788e35
This commit is contained in:
parent
b59c949a95
commit
5fd2bf5890
4 changed files with 3 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
||||
import { randomUUID } from "crypto";
|
||||
import { createHash } from "crypto";
|
||||
import { getAdminClient } from "../../api/_supabase";
|
||||
import { getAdminClient } from "../_supabase";
|
||||
|
||||
const generateDeterministicUUID = (str: string): string => {
|
||||
const hash = createHash("sha256").update(str).digest("hex");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
||||
import { getAdminClient } from "../../api/_supabase";
|
||||
import { getAdminClient } from "../_supabase";
|
||||
|
||||
export default async function handler(req: VercelRequest, res: VercelResponse) {
|
||||
if (req.method !== "POST")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { createClient } from "@supabase/supabase-js";
|
||||
import { emailService } from "@/server/email";
|
||||
import { emailService } from "../../server/email";
|
||||
|
||||
const supabase = createClient(
|
||||
process.env.VITE_SUPABASE_URL || "",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { createClient } from "@supabase/supabase-js";
|
||||
import { corsHeaders } from "../_cors";
|
||||
|
||||
const supabase = createClient(
|
||||
process.env.SUPABASE_URL || "",
|
||||
|
|
|
|||
Loading…
Reference in a new issue