Skip to content

Commit

Permalink
Remove unused staffIdentifier field
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed Nov 29, 2024
1 parent aaeb0ff commit 862e8d2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ object EventDetailsGenerator {
private fun staffMember(staff: Staff, username: String? = null) = StaffMember(
username = username,
staffCode = staff.code,
staffIdentifier = staff.id,
forenames = staff.forename,
surname = staff.surname
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ object StaffMemberGenerator {

fun generate(
staffCode: String = "N54A001",
staffIdentifier: Long = 1501234567,
forenames: String = "John",
surname: String = "Smith",
username: String? = null
) = StaffMember(
staffCode = staffCode,
staffIdentifier = staffIdentifier,
forenames = forenames,
surname = surname,
username = username
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package uk.gov.justice.digital.hmpps.integrations.approvedpremises

data class StaffMember(
val staffCode: String,
val staffIdentifier: Long,
val forenames: String,
val surname: String,
val username: String?
Expand Down

0 comments on commit 862e8d2

Please sign in to comment.