Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dantb committed Oct 3, 2023
1 parent 131e4d9 commit ce9c81d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import io.circe.{Encoder, JsonObject}
* @param reason
* a descriptive message as to why the rejection occurred
*/
sealed abstract class OrganizationRejection(val reason: String) extends Throwable with Product with Serializable
sealed abstract class OrganizationRejection(val reason: String) extends Exception(reason) with Product with Serializable

object OrganizationRejection {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ object Permissions {
final val read: Permission = Permission.unsafe("organizations/read")
final val write: Permission = Permission.unsafe("organizations/write")
final val create: Permission = Permission.unsafe("organizations/create")
// TODO setup this permission
final val delete: Permission = Permission.unsafe("organizations/delete")
}

Expand Down

0 comments on commit ce9c81d

Please sign in to comment.