Update _supabase imports to include .js extension - batch 1
cgen-466e9de5fa2c4a0a985ce8833e93a8ba
This commit is contained in:
parent
23f07b98e6
commit
d09aa90cbe
5 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { supabase } from "../_supabase";
|
import { supabase } from "../_supabase.js";
|
||||||
|
|
||||||
export default async (req: Request) => {
|
export default async (req: Request) => {
|
||||||
if (req.method !== "GET") {
|
if (req.method !== "GET") {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { supabase } from "../_supabase";
|
import { supabase } from "../_supabase.js";
|
||||||
|
|
||||||
export default async (req: Request) => {
|
export default async (req: Request) => {
|
||||||
if (req.method !== "GET") {
|
if (req.method !== "GET") {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { supabase } from "../_supabase";
|
import { supabase } from "../_supabase.js";
|
||||||
|
|
||||||
export default async (req: Request) => {
|
export default async (req: Request) => {
|
||||||
if (req.method !== "GET") {
|
if (req.method !== "GET") {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
||||||
import { getAdminClient } from "../_supabase";
|
import { getAdminClient } from "../_supabase.js";
|
||||||
|
|
||||||
const admin = getAdminClient();
|
const admin = getAdminClient();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
||||||
import { getAdminClient } from "./_supabase";
|
import { getAdminClient } from "./_supabase.js";
|
||||||
|
|
||||||
export default async function handler(req: VercelRequest, res: VercelResponse) {
|
export default async function handler(req: VercelRequest, res: VercelResponse) {
|
||||||
if (req.method === "GET") {
|
if (req.method === "GET") {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue