Fix eslint
This commit is contained in:
@@ -2,6 +2,5 @@ import NextAuth from "next-auth";
|
||||
|
||||
import { authOptions } from "~/server/auth";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const handler = NextAuth(authOptions);
|
||||
export { handler as GET, handler as POST };
|
||||
|
||||
@@ -32,7 +32,7 @@ export async function POST(req: Request) {
|
||||
}
|
||||
|
||||
async function handleSubscription(message: any) {
|
||||
const subResponse = await fetch(message.SubscribeURL, {
|
||||
await fetch(message.SubscribeURL, {
|
||||
method: "GET",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user