mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: pending sync reset flag (#19861)
This commit is contained in:
parent
34f0f6c813
commit
4b3a4725c6
28 changed files with 499 additions and 27 deletions
|
|
@ -58,7 +58,11 @@ const authFactory = ({
|
|||
}
|
||||
|
||||
if (session) {
|
||||
auth.session = { id: session.id, hasElevatedPermission: false };
|
||||
auth.session = {
|
||||
id: session.id,
|
||||
isPendingSyncReset: false,
|
||||
hasElevatedPermission: false,
|
||||
};
|
||||
}
|
||||
|
||||
if (sharedLink) {
|
||||
|
|
@ -131,6 +135,7 @@ const sessionFactory = (session: Partial<Session> = {}) => ({
|
|||
expiresAt: null,
|
||||
userId: newUuid(),
|
||||
pinExpiresAt: newDate(),
|
||||
isPendingSyncReset: false,
|
||||
...session,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue