Skip to content

Commit

Permalink
[fix] stern/backoffice conference calling TTL (#3723)
Browse files Browse the repository at this point in the history
* change type of param to string
  • Loading branch information
battermann authored Nov 17, 2023
1 parent 9386e3e commit 5d8b7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5-internal/PR-3723
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stern/backoffice `PUT /teams/{teamId}/features/conferenceCalling` fixed
2 changes: 1 addition & 1 deletion libs/wire-api/src/Wire/API/Team/Feature.hs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ instance FromHttpApiData (FeatureTTL' u) where
parseQueryParam = maybeToEither invalidTTLErrorString . fromByteString . T.encodeUtf8

instance S.ToParamSchema (FeatureTTL' u) where
toParamSchema _ = S.toParamSchema (Proxy @Int)
toParamSchema _ = S.toParamSchema (Proxy @Text)

instance ToByteString (FeatureTTL' u) where
builder FeatureTTLUnlimited = "unlimited"
Expand Down

0 comments on commit 5d8b7fd

Please sign in to comment.