try(dashboard): slack integration window does not work (test 1)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-03 09:56:01 +02:00
parent ea27ca1e0a
commit 30f16c5be6
2 changed files with 13 additions and 6 deletions

View File

@@ -250,7 +250,10 @@ export async function slackWebhook(
}),
);
reply.send({ success: true });
return reply
.status(200)
.header('Content-Type', 'text/html')
.send('<h1>Slack integration added. You can close this window now.</h1>');
} catch (err) {
request.log.error(err);
return reply