Skip to content

Commit 26b8d1a

Browse files
committed
fix: delete method should be used
delete vs get
1 parent 88c7d3d commit 26b8d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Services/cayenne.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class Cayenne extends Request {
479479
*/
480480
deleteThingDataTypePropertyV2(typeId, pid) {
481481
const url = `/v2/things/datatypes/${typeId}/properties/${pid}`;
482-
return this.send('GET', url);
482+
return this.send('DELETE', url);
483483
}
484484

485485
/**

0 commit comments

Comments
 (0)