Skip to content

Commit

Permalink
fix checkUpdateResults error
Browse files Browse the repository at this point in the history
  • Loading branch information
zingmane committed Aug 2, 2024
1 parent 8f8da83 commit fadd1c6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ class ColumnModel(val connection: DatabaseConnection)(
(t, resultCountryCodes) <-
maybeUpdateColumn(t, "country_codes", countryCodes, (c: Seq[String]) => Json.arr(c: _*))
(t, resultHidden) <- maybeUpdateColumn(t, "hidden", hidden)
(t, resultSeparator) <- maybeUpdateColumn(t, "show_member_columns", showMemberColumns)
(t, resultShowMemberColumns) <- maybeUpdateColumn(t, "show_member_columns", showMemberColumns)

// cannot use optionToValidFuture here, we need to be able to set these settings to null
(t, resultMaxLength) <- maxLength match {
Expand Down Expand Up @@ -1555,7 +1555,8 @@ class ColumnModel(val connection: DatabaseConnection)(
resultAttributes,
resultRules,
resultMaxLength,
resultMinLength
resultMinLength,
resultShowMemberColumns
)
)
.recoverWith(t.rollbackAndFail())
Expand Down

0 comments on commit fadd1c6

Please # to comment.