Skip to content

Commit

Permalink
fix: allow null for vintage in get_all_users
Browse files Browse the repository at this point in the history
  • Loading branch information
RiedleroD committed Dec 17, 2024
1 parent dd20df6 commit 495b794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbplanner/services/user/get_all_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class user_get_all_users extends external_api {
*/
public static function get_all_users_parameters(): external_function_parameters {
return new external_function_parameters([
'vintage' => new external_value(PARAM_TEXT, 'The vintage to filter the users by', VALUE_DEFAULT, null),
'vintage' => new external_value(PARAM_TEXT, 'The vintage to filter the users by', VALUE_DEFAULT, null, NULL_ALLOWED),
]);
}

Expand Down

0 comments on commit 495b794

Please sign in to comment.