fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory

This commit is contained in:
plegall
2024-01-31 13:19:53 +01:00
parent 08124d10f7
commit 9fdba44d34

2
ws.php
View File

@@ -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',