Skip to content

Commit

Permalink
Add clarification TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
smatting committed Feb 23, 2021
1 parent 2a158a0 commit fcfa202
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/brig/src/Brig/API/Public.hs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ type GetUsersPrekeysClientUnqualified =
:> CaptureClientId "client"
:> Get '[Servant.JSON] Public.ClientPrekey

-- TODO: Should domain and user be included in response?
-- Argument for "no": then unqualified endpoint also didn't include user
type GetUsersPrekeysClientQualified =
Summary "Get a prekey for a specific client of a user."
:> "users"
Expand All @@ -331,6 +333,7 @@ type GetUsersPrekeyBundleUnqualified =
:> "prekeys"
:> Get '[Servant.JSON] Public.PrekeyBundle

-- TODO: Should domain and user be included in response?
type GetUsersPrekeyBundleQualified =
Summary "Get a prekey for each client of a user."
:> "users"
Expand Down

0 comments on commit fcfa202

Please sign in to comment.