mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 09:15:05 +03:00
feat: shared link edit (#24783)
This commit is contained in:
@@ -4218,14 +4218,16 @@ export function lockSession({ id }: {
|
||||
/**
|
||||
* Retrieve all shared links
|
||||
*/
|
||||
export function getAllSharedLinks({ albumId }: {
|
||||
export function getAllSharedLinks({ albumId, id }: {
|
||||
albumId?: string;
|
||||
id?: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: SharedLinkResponseDto[];
|
||||
}>(`/shared-links${QS.query(QS.explode({
|
||||
albumId
|
||||
albumId,
|
||||
id
|
||||
}))}`, {
|
||||
...opts
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user