diff --git a/src/app/(static)/home-image/route.tsx b/src/app/(static)/home-image/route.tsx index bd1a16ea..ce84e246 100644 --- a/src/app/(static)/home-image/route.tsx +++ b/src/app/(static)/home-image/route.tsx @@ -10,7 +10,7 @@ import { ImageResponse } from '@vercel/og'; export const runtime = 'edge'; -export async function GET(request: Request): Promise { +export async function GET(request: Request) { const photos = await getPhotos( undefined, MAX_PHOTOS_TO_SHOW_HOME, diff --git a/src/app/(static)/p/[photoId]/image/route.tsx b/src/app/(static)/p/[photoId]/image/route.tsx index 42054356..d06ea539 100644 --- a/src/app/(static)/p/[photoId]/image/route.tsx +++ b/src/app/(static)/p/[photoId]/image/route.tsx @@ -8,10 +8,7 @@ import { ImageResponse } from '@vercel/og'; export const runtime = 'edge'; -export async function GET( - request: Request, - context: any, -): Promise { +export async function GET(request: Request, context: any){ const photo = await getPhoto(context.params.photoId); const { diff --git a/src/app/(static)/t/[tag]/image/route.tsx b/src/app/(static)/t/[tag]/image/route.tsx index d440b809..249d1d93 100644 --- a/src/app/(static)/t/[tag]/image/route.tsx +++ b/src/app/(static)/t/[tag]/image/route.tsx @@ -11,10 +11,7 @@ import { ImageResponse } from '@vercel/og'; export const runtime = 'edge'; -export async function GET( - request: Request, - context: any, -): Promise { +export async function GET(request: Request, context: any) { const photos = await getPhotos( undefined, MAX_PHOTOS_TO_SHOW_PER_TAG, diff --git a/src/app/(static)/template-image/route.tsx b/src/app/(static)/template-image/route.tsx index 976d471c..5a089de1 100644 --- a/src/app/(static)/template-image/route.tsx +++ b/src/app/(static)/template-image/route.tsx @@ -12,7 +12,7 @@ import { ImageResponse } from '@vercel/og'; export const runtime = 'edge'; -export async function GET(request: Request): Promise { +export async function GET(request: Request) { const photos = await getPhotos('priority', MAX_PHOTOS_TO_SHOW_TEMPLATE); const { fontFamily,