Skip to content

Commit

Permalink
rename responder method
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Nov 14, 2024
1 parent 3aff3da commit fc1493c
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 @@ -688,7 +688,7 @@ final case class PermissionsResponder(
}.toSet
} yield PermissionsForProjectGetResponseADM(permissionsInfo)

def updateDoapForWhat(
def updateDoap(
permissionIri: PermissionIri,
req: ChangeDoapRequest,
uuid: UUID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ final case class PermissionRestService(
_ <- auth.ensureSystemAdmin(user)
_ <- ZIO.fail(BadRequestException("No update provided.")).when(req.isEmpty)
uuid <- Random.nextUUID
result <- responder.updateDoapForWhat(iri, req, uuid)
result <- responder.updateDoap(iri, req, uuid)
ext <- format.toExternal(result)
} yield ext

Expand Down

0 comments on commit fc1493c

Please sign in to comment.