mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/client/devices: Fix device_id parameter position.
This commit is contained in:
parent
c6a4ab17c7
commit
6b8e25800c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue