1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

feat: pending sync reset flag (#19861)

This commit is contained in:
Jason Rasmussen
2025-07-11 09:38:02 -04:00
committed by GitHub
parent 34f0f6c813
commit 4b3a4725c6
28 changed files with 499 additions and 27 deletions

View File

@ -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,
});