From 872c1f5fc3884b6df6f5025287873d98b27dd6b1 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Thu, 8 Jul 2021 11:39:13 +0200 Subject: [PATCH] fix: correct parameter name of thing update route --- src/protocol/routes/thing-update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/routes/thing-update.ts b/src/protocol/routes/thing-update.ts index fc83537e..9ef23322 100644 --- a/src/protocol/routes/thing-update.ts +++ b/src/protocol/routes/thing-update.ts @@ -55,7 +55,7 @@ export class SCThingUpdateRoute extends SCAbstractRoute { ]; this.method = SCRouteHttpVerbs.PUT; this.obligatoryParameters = { - TYPE: 'SCThingTypes', + TYPE: 'SCThingType', UID: 'SCUuid', }; this.requestBodyName = 'SCThingUpdateRequest';