Linting
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import {GroupData, setGroups} from "../../../src/database/groups";
|
||||
import {NetworkError, nextHandler} from "../../../src/utils/errors";
|
||||
import getConfig from "next/config";
|
||||
import {addSchemas, waitForInitSchemas} from "../../../src/validation/schemas";
|
||||
import { NetworkError, nextHandler } from '../../../src/utils/errors'
|
||||
import getConfig from 'next/config'
|
||||
import { waitForInitSchemas } from '../../../src/validation/schemas'
|
||||
|
||||
const {publicRuntimeConfig: {TENANT_TYPE}} = getConfig()
|
||||
const {
|
||||
publicRuntimeConfig: { TENANT_TYPE }
|
||||
} = getConfig()
|
||||
|
||||
const handler = nextHandler(async (req, res) => {
|
||||
if (req.method !== 'GET') throw new NetworkError('Invalid method')
|
||||
|
||||
Reference in New Issue
Block a user