From 9fdba44d345558701c99e2902f1ba9b490a3168b Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 31 Jan 2024 13:19:53 +0100 Subject: [PATCH] fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory --- ws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws.php b/ws.php index f49ff8e74..398aea2d4 100644 --- a/ws.php +++ b/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',