From b74af514fd2a1cf110b0083c004ec878eb4012bd Mon Sep 17 00:00:00 2001 From: flatsiedatsie Date: Mon, 20 Apr 2026 19:24:43 +0200 Subject: [PATCH] Update things_controller.ts --- src/controllers/things_controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/things_controller.ts b/src/controllers/things_controller.ts index 97318513c..05d1f8d87 100644 --- a/src/controllers/things_controller.ts +++ b/src/controllers/things_controller.ts @@ -242,7 +242,7 @@ function build(): express.Router { } else if (isWotAdapterInstalled) { // thing-url-adapter is not installed or the ThingDescription was // recognized as a w3c thing description. - await loadThingInWotAdpater(description); + await loadThingInWotAdapter(description); adapterToBeReloaded = 'wot-adapter'; } } catch (e) { @@ -773,7 +773,7 @@ async function loadThingInThingUrlAdapter(description: { webthingUrl: string }): await Settings.setSetting(key, config); } -async function loadThingInWotAdpater(description: { webthingUrl: string }): Promise { +async function loadThingInWotAdapter(description: { webthingUrl: string }): Promise { const key = 'addons.config.wot-adapter'; const config = >await Settings.getSetting(key); if (typeof config === 'undefined') {