Skip to content

Commit

Permalink
ID-1023 Fix list resources v2 endpoint bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-in-a-Jar committed Jan 26, 2024
1 parent 802eb68 commit f47977f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package org.broadinstitute.dsde.workbench.sam.model.api

trait FilteredResources {
def format: String
val format: String
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object FilteredResourcesFlat {

}
case class FilteredResourcesFlat(resources: Set[FilteredResourceFlat]) extends FilteredResources {
override def format: String = "flat"
override val format: String = "flat"
}

object FilteredResourceFlat {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ object FilteredResourcesHierarchical {

}
case class FilteredResourcesHierarchical(resources: Set[FilteredResourceHierarchical]) extends FilteredResources {
override def format: String = "hierarchical"
override val format: String = "hierarchical"
}
case object FilteredResourceHierarchicalPolicy {
implicit val filteredResourceHierarchicalPolicyFormat: RootJsonFormat[FilteredResourceHierarchicalPolicy] = jsonFormat5(
Expand Down

0 comments on commit f47977f

Please sign in to comment.