mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
modules/client/user: Minor fix formatting.
This commit is contained in:
parent
a6ee1a3cec
commit
0b5716762d
1 changed files with 8 additions and 4 deletions
|
@ -29,7 +29,8 @@ user_resource
|
|||
};
|
||||
|
||||
m::resource::response
|
||||
get_user(client &client, const m::resource::request &request)
|
||||
get_user(client &client,
|
||||
const m::resource::request &request)
|
||||
{
|
||||
if(request.parv.size() < 2)
|
||||
throw m::NEED_MORE_PARAMS
|
||||
|
@ -78,7 +79,8 @@ get_method
|
|||
};
|
||||
|
||||
m::resource::response
|
||||
post_user(client &client, m::resource::request &request)
|
||||
post_user(client &client,
|
||||
m::resource::request &request)
|
||||
{
|
||||
if(request.parv.size() < 2)
|
||||
throw m::NEED_MORE_PARAMS
|
||||
|
@ -124,7 +126,8 @@ post_method
|
|||
};
|
||||
|
||||
m::resource::response
|
||||
put_user(client &client, const m::resource::request &request)
|
||||
put_user(client &client,
|
||||
const m::resource::request &request)
|
||||
{
|
||||
if(request.parv.size() < 1)
|
||||
throw m::NEED_MORE_PARAMS
|
||||
|
@ -176,7 +179,8 @@ put_method
|
|||
};
|
||||
|
||||
m::resource::response
|
||||
delete_user(client &client, const m::resource::request &request)
|
||||
delete_user(client &client,
|
||||
const m::resource::request &request)
|
||||
{
|
||||
if(request.parv.size() < 1)
|
||||
throw m::NEED_MORE_PARAMS
|
||||
|
|
Loading…
Reference in a new issue