fix: correct parameter name of thing update route

This commit is contained in:
Rainer Killinger
2021-07-08 11:39:13 +02:00
parent 4f2ca30dab
commit 872c1f5fc3

View File

@@ -55,7 +55,7 @@ export class SCThingUpdateRoute extends SCAbstractRoute {
]; ];
this.method = SCRouteHttpVerbs.PUT; this.method = SCRouteHttpVerbs.PUT;
this.obligatoryParameters = { this.obligatoryParameters = {
TYPE: 'SCThingTypes', TYPE: 'SCThingType',
UID: 'SCUuid', UID: 'SCUuid',
}; };
this.requestBodyName = 'SCThingUpdateRequest'; this.requestBodyName = 'SCThingUpdateRequest';