mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-08 21:32:59 +02:00
feat: add an option to configure default share expiration (#2283)
* feat: add an option to configure default share expiration
This commit is contained in:
@@ -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 } : {}),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user