Skip to content

Commit

Permalink
fixed ttl for office staff because we only run once a day
Browse files Browse the repository at this point in the history
Jira ticket: CAMS-484

Co-authored-by: Stanley Smith <[email protected]>
  • Loading branch information
amorrow-flexion and governmentSponsored committed Nov 29, 2024
1 parent 1952dc6 commit 2457d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<OfficeStaff>({
id: session.user.id,
documentType: 'OFFICE_STAFF',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class OfficesMongoRepository extends BaseMongoRepository implements Offic
}

async putOfficeStaff(officeCode: string, user: CamsUserReference): Promise<void> {
const ttl = 4500;
const ttl = 86400;
const staff = createAuditRecord<OfficeStaff>({
id: user.id,
documentType: 'OFFICE_STAFF',
Expand Down

0 comments on commit 2457d93

Please sign in to comment.