diff --git a/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.test.ts b/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.test.ts index 432dfb8b6..3eb28695d 100644 --- a/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.test.ts +++ b/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.test.ts @@ -49,7 +49,7 @@ describe('offices repo', () => { const session = await createMockApplicationContextSession(); const officeCode = 'test_office_code'; - const ttl = 4500; + const ttl = 86400; const staff = createAuditRecord({ id: session.user.id, documentType: 'OFFICE_STAFF', diff --git a/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.ts b/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.ts index a32640137..9f88dd152 100644 --- a/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.ts +++ b/backend/functions/lib/adapters/gateways/mongo/offices.mongo.repository.ts @@ -26,7 +26,7 @@ export class OfficesMongoRepository extends BaseMongoRepository implements Offic } async putOfficeStaff(officeCode: string, user: CamsUserReference): Promise { - const ttl = 4500; + const ttl = 86400; const staff = createAuditRecord({ id: user.id, documentType: 'OFFICE_STAFF',