Skip to content

Commit

Permalink
docfix/Tweak error message at grantAccessToMultipleViews function
Browse files Browse the repository at this point in the history
  • Loading branch information
constantine2nd committed Apr 18, 2024
1 parent fd6705d commit ae537b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obp-api/src/main/scala/code/model/BankingData.scala
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ case class BankAccountExtended(val bankAccount: BankAccount) extends MdcLoggable
grantedViews <- Views.views.vend.grantAccessToMultipleViews(viewUIDs, otherUser, callContext) ?~ "could not save the privilege"
} yield grantedViews
else
Failure(UserLacksPermissionCanGrantAccessToViewForTargetAccount + s"Current ViewIds${viewUIDs.map(_.viewId.value)} and current UserId${user.userId}")
Failure(UserLacksPermissionCanGrantAccessToViewForTargetAccount + s"Current ViewIds${viewUIDs.map(_.viewId.value).mkString(", ")} and current UserId${user.userId}")
}

/**
Expand Down

0 comments on commit ae537b5

Please sign in to comment.