Added types for queues/proxy

This commit is contained in:
dominicbachmann 2022-04-06 21:04:51 +02:00
parent 456b1b8074
commit 94da008a47

View File

@ -1,7 +1,10 @@
import { ErrorHandler } from '$lib/database';
import { configureHAProxy } from '$lib/haproxy/configuration';
export default async function () {
export default async function (): Promise<void | {
status: number;
body: { message: string; error: string };
}> {
try {
return await configureHAProxy();
} catch (error) {