0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

modules/client/devices: Fix device_id parameter position.

This commit is contained in:
Jason Volk 2020-03-28 16:43:10 -07:00
parent c6a4ab17c7
commit 6b8e25800c

View file

@ -168,7 +168,7 @@ put__devices(client &client,
m::id::device::buf device_id
{
url::decode(device_id, request.parv[1])
url::decode(device_id, request.parv[0])
};
m::device data{request.content};
@ -194,7 +194,7 @@ delete__devices(client &client,
m::id::device::buf device_id
{
url::decode(device_id, request.parv[1])
url::decode(device_id, request.parv[0])
};
const json::object &auth