feat: add an option to configure default share expiration (#2283)

* feat: add an option to configure default share expiration
This commit is contained in:
Yunus
2026-08-03 22:26:45 -04:00
committed by GitHub
parent a8bec1ad75
commit 71fc632501
6 changed files with 244 additions and 19 deletions
@@ -1173,9 +1173,9 @@ export const NavidromeController: InternalControllerEndpoint = {
body: {
description: body.description,
downloadable: body.downloadable,
expires: body.expires,
resourceIds: body.resourceIds,
resourceType: body.resourceType,
...(body.expires !== undefined ? { expires: body.expires } : {}),
},
});