Skip to content
Snippets Groups Projects
Commit 5c60e7b2 authored by Taha Cherfia's avatar Taha Cherfia
Browse files

HOLI-10686: fix handler return type

parent 62573526
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ export type GraphQLServer = any
export const startServer = (config: ServerConfig): Promise<void> => {
const graphQLServer: GraphQLServer = createGraphQLServer(config)
const handler = async (request: Request): Promise<Response> => {
const handler = (request: Request): Response => {
const url = new URL(request.url)
if (url.pathname === '/health') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment