fix SonarQube issues: mainly unused imports
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
import { type ServerLoadEvent } from '@sveltejs/kit';
|
import { type ServerLoadEvent } from '@sveltejs/kit';
|
||||||
import type { PageServerLoad } from '../anmeldung/$types';
|
import type { PageServerLoad } from '../anmeldung/$types';
|
||||||
|
|
||||||
import { ROUTE_NAMES } from '..';
|
|
||||||
|
|
||||||
export const load: PageServerLoad = (event: ServerLoadEvent) => {
|
export const load: PageServerLoad = (event: ServerLoadEvent) => {
|
||||||
if (event.locals.user) {
|
if (event.locals.user) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import { Readable } from 'stream';
|
import { Readable } from 'stream';
|
||||||
import { BUCKET, client } from '$lib/minio';
|
import { BUCKET, client } from '$lib/minio';
|
||||||
import { fail, error } from '@sveltejs/kit';
|
import { fail, error } from '@sveltejs/kit';
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
|
||||||
|
|
||||||
import { db } from '$lib/server/dbService';
|
import { getVorgangByName } from '$lib/server/vorgangService';
|
||||||
import { getVorgangByName, vorgangNameExists } from '$lib/server/vorgangService';
|
|
||||||
|
|
||||||
const isRequiredFieldValid = (value: unknown) => {
|
const isRequiredFieldValid = (value: unknown) => {
|
||||||
if (value == null) return false;
|
if (value == null) return false;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { json } from '@sveltejs/kit';
|
|
||||||
import { deleteUser } from '$lib/server/userService';
|
import { deleteUser } from '$lib/server/userService';
|
||||||
|
|
||||||
export async function DELETE({ params }) {
|
export async function DELETE({ params }) {
|
||||||
|
|||||||
Reference in New Issue
Block a user