Allow album to be empty string thus defaulting to i10n "Wall Photos" like in UI

This commit is contained in:
Hank Grabowski 2022-12-13 12:48:50 -05:00
parent 94801986b6
commit 8f56aa316b

View File

@ -64,7 +64,7 @@ class Create extends BaseApi
// do several checks on input parameters
// we do not allow calls without album string
if ($album == null) {
if ($album === null) {
throw new HTTPException\BadRequestException('no album name specified');
}