mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-26 09:20:06 +02:00
style: modification of the relative path to import
This commit is contained in:
parent
70ecbf419b
commit
3903c00ea7
|
@ -1,7 +1,7 @@
|
||||||
//Lib
|
//Lib
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { authOptions } from '../../../pages/api/auth/[...nextauth]';
|
import { authOptions } from '../auth/[...nextauth]';
|
||||||
import { unstable_getServerSession } from 'next-auth/next';
|
import { unstable_getServerSession } from 'next-auth/next';
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
export default async function handler(req, res) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//Lib
|
//Lib
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { authOptions } from '../../../pages/api/auth/[...nextauth]';
|
import { authOptions } from '../auth/[...nextauth]';
|
||||||
import { unstable_getServerSession } from 'next-auth/next';
|
import { unstable_getServerSession } from 'next-auth/next';
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
export default async function handler(req, res) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//Lib
|
//Lib
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { authOptions } from '../../../pages/api/auth/[...nextauth]';
|
import { authOptions } from '../auth/[...nextauth]';
|
||||||
import { unstable_getServerSession } from 'next-auth/next';
|
import { unstable_getServerSession } from 'next-auth/next';
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
export default async function handler(req, res) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import { hashPassword, verifyPassword } from '../../../helpers/functions/auth';
|
import { hashPassword, verifyPassword } from '../../../helpers/functions/auth';
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { authOptions } from '../../../pages/api/auth/[...nextauth]';
|
import { authOptions } from '../auth/[...nextauth]';
|
||||||
import { unstable_getServerSession } from 'next-auth/next';
|
import { unstable_getServerSession } from 'next-auth/next';
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
export default async function handler(req, res) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//Lib
|
//Lib
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { authOptions } from '../../../pages/api/auth/[...nextauth]';
|
import { authOptions } from '../auth/[...nextauth]';
|
||||||
import { unstable_getServerSession } from 'next-auth/next';
|
import { unstable_getServerSession } from 'next-auth/next';
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
export default async function handler(req, res) {
|
||||||
|
|
Loading…
Reference in a new issue