mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory
This commit is contained in:
2
ws.php
2
ws.php
@@ -823,7 +823,7 @@ function ws_addDefaultMethods( $arr )
|
||||
array(
|
||||
'image_id' => array('default'=>null, 'flags'=>WS_PARAM_ACCEPT_ARRAY),
|
||||
'pwg_token' => array(),
|
||||
'category_id' => array('default'=>null, 'type'=>WS_TYPE_ID),
|
||||
'category_id' => array('type'=>WS_TYPE_ID),
|
||||
),
|
||||
'Notifiy Piwigo you have finished to upload a set of photos. It will empty the lounge, if any.',
|
||||
$ws_functions_root . 'pwg.images.php',
|
||||
|
||||
Reference in New Issue
Block a user