Neah version calendar fix 3 debuger sec chance danger debug 10

This commit is contained in:
alma 2025-04-17 00:55:29 +02:00
parent 0c24fd0c95
commit 0158c6e696
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { prisma } from "@/lib/prisma";
/**

View File

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { prisma } from "@/lib/prisma";
/**

View File

@ -1,5 +1,5 @@
import { NextRequest, NextResponse } from "next/server";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { getServerSession } from "next-auth/next";
import { prisma } from "@/lib/prisma";

View File

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { prisma } from "@/lib/prisma";
// Cache for Leantime user IDs

View File

@ -3,7 +3,7 @@ import Imap from 'imap';
import nodemailer from 'nodemailer';
import { parseEmailHeaders, decodeEmailBody } from '@/lib/email-parser';
import { getServerSession } from 'next-auth/next';
import { authOptions } from '@/lib/auth';
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { prisma } from '@/lib/prisma';
interface Email {

View File

@ -1,5 +1,5 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { NextResponse } from "next/server";
// Helper function to get user token using admin credentials

View File

@ -1,5 +1,5 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
import { prisma } from "@/lib/prisma";
import { CalendarClient } from "@/components/calendar/calendar-client";

View File

@ -1,6 +1,6 @@
import { Metadata } from "next";
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/lib/auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
import { SignInForm } from "@/components/auth/signin-form";