Skip to content

Commit

Permalink
Added types for queues/proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicbachmann committed Apr 6, 2022
1 parent 456b1b8 commit 94da008
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/queues/proxy.ts
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 94da008

Please sign in to comment.