From c2b0ec4c5a11886d3eb90b958a53d2f455b6b3a2 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:35:42 +0000 Subject: [PATCH 1/2] Correct typo in default config --- backend/config/default.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/default.cjs b/backend/config/default.cjs index 457fb3ecd..ae42578f9 100644 --- a/backend/config/default.cjs +++ b/backend/config/default.cjs @@ -174,7 +174,7 @@ module.exports = { inference: { enabled: false, - conneciton: { + connection: { host: 'http://example.com', }, authorizationTokenName: 'inferencing-token', From 938bad338885dec74c21e4d0bbe2de4f250ba174 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Fri, 22 Nov 2024 07:56:44 +0000 Subject: [PATCH 2/2] Correct typo 'conent' -> 'content' in webhook.ts --- backend/src/services/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/webhook.ts b/backend/src/services/webhook.ts index c865044cf..62f591644 100644 --- a/backend/src/services/webhook.ts +++ b/backend/src/services/webhook.ts @@ -97,7 +97,7 @@ export async function sendWebhooks( agent: getHttpsAgent({ rejectUnauthorized: webhook.insecureSSL, }), - headers: { 'Conent-Type': 'application/json', ...headers }, + headers: { 'Content-Type': 'application/json', ...headers }, }) if (!response.ok) { log.error(