Skip to content

Commit

Permalink
fix(pollux): upgrade castor version (#472)
Browse files Browse the repository at this point in the history
* fix(pollux): update castor and make it compile

* fix(pollux): use released castor version
  • Loading branch information
patlo-iog committed Mar 23, 2023
1 parent feb807e commit f269b7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pollux/lib/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object Dependencies {
val iris = "0.1.0"
val shared = "0.2.0"
val mercury = "0.22.0"
val castor = "0.8.1"
val castor = "0.8.2"
val flyway = "9.8.3"
val testContainersScalaPostgresql = "0.40.11"
val quill = "4.6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ class PrismDidResolver(didService: DIDService) extends DidResolver {

private def toPolluxResolutionErrorModel(error: DIDResolutionErrorRepr): DIDResolutionFailed = {
val e = error match {
case DIDResolutionErrorRepr.InvalidDID => InvalidDid(error.value)
case DIDResolutionErrorRepr.InvalidDIDUrl => InvalidDid(error.value)
case DIDResolutionErrorRepr.InvalidDID(_) => InvalidDid(error.value)
case DIDResolutionErrorRepr.InvalidDIDUrl(_) => InvalidDid(error.value)
case DIDResolutionErrorRepr.NotFound => NotFound(error.value)
case DIDResolutionErrorRepr.RepresentationNotSupported => RepresentationNotSupported(error.value)
case DIDResolutionErrorRepr.InternalError => Error(error.value, error.value)
case DIDResolutionErrorRepr.InternalError(_) => Error(error.value, error.value)
case DIDResolutionErrorRepr.InvalidPublicKeyLength => InvalidPublicKeyLength(error.value)
case DIDResolutionErrorRepr.InvalidPublicKeyType => InvalidPublicKeyType(error.value)
case DIDResolutionErrorRepr.UnsupportedPublicKeyType => UnsupportedPublicKeyType(error.value)
Expand Down

0 comments on commit f269b7e

Please sign in to comment.