Skip to content

Commit

Permalink
actually update all relevant housing reference columns
Browse files Browse the repository at this point in the history
  • Loading branch information
momentiris committed Dec 17, 2024
1 parent 4141f26 commit d005587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Knex } from 'knex'
import { RequestError } from 'tedious'
import { logger } from 'onecore-utilities'
import { ApplicationProfile } from 'onecore-types'
import { ApplicationProfile, leasing } from 'onecore-types'

import { AdapterResult } from './types'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Knex } from 'knex'
import { logger } from 'onecore-utilities'
import { ApplicationProfileHousingReference } from 'onecore-types'
import { RequestError } from 'tedious'

import { AdapterResult } from './types'
import { RequestError } from 'tedious'

type CreateParams = Omit<
ApplicationProfileHousingReference,
Expand Down Expand Up @@ -99,6 +99,8 @@ export async function update(
email: params.email,
reviewStatus: params.reviewStatus,
reasonRejected: params.reasonRejected,
comment: params.comment,
lastApplicantUpdatedAt: params.lastApplicantUpdatedAt,
lastAdminUpdatedAt: params.lastAdminUpdatedAt,
lastAdminUpdatedBy: 'not-implemented',
expiresAt: params.expiresAt,
Expand Down

0 comments on commit d005587

Please sign in to comment.