[SQSERVICES-1911] Team features MLS E2E ID#3082
Conversation
e7e0ba1 to
81cf29e
Compare
81cf29e to
94d3928
Compare
|
I like to clean up code along the way sometimes, I apologize in advance! |
32db67d to
764efc3
Compare
supersven
left a comment
There was a problem hiding this comment.
Looks like a good and clean implementation 👍
Only a couple of nitpickings... 😉
| schema = | ||
| object "SystemSettingsInternal" $ | ||
| SystemSettingsInternal | ||
| <$> ssiSetEnableMls .= fieldWithDocModifier "setEnableMls" (description ?~ "whether MLS is enabled or not") schema |
There was a problem hiding this comment.
From the department of nitpicking: Maybe, we should decide if we start Swagger descriptions in upper or lower case.
"whether MLS is enabled or not" vs. "Do not allow certain user creation flows"
(No, this is really not important. I just accidentally saw it.)
| :> Get '[JSON] SystemSettingsPublic | ||
| ) | ||
| :<|> Named | ||
| "get-system-settings-authorized" |
There was a problem hiding this comment.
I would call this endpoint get-system-settings and the unauthorized one get-system-settings-unauthorized, because that reflects the path. However, this is likely a matter of taste.
| { | ||
| "config": { | ||
| "verificationTimeout": 1676377048 | ||
| "verificationExpiration": 1676377048 |
There was a problem hiding this comment.
Where does this come from? 🤔
There was a problem hiding this comment.
This was related to earlier commits in the PR.
cb42fc7 to
5425326
Compare
Checklist
changelog.d