fix: return userID on org setup (#3623)

This commit is contained in:
Livio Amstutz
2022-05-13 13:54:48 +02:00
committed by GitHub
parent f70990709b
commit 734cfdddae
3 changed files with 10 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ func (l *Login) handleRegisterOrgCheck(w http.ResponseWriter, r *http.Request) {
return
}
_ = userIDs //TODO: handle userIDs
_, err = l.command.SetUpOrg(ctx, data.toCommandOrg())
_, _, err = l.command.SetUpOrg(ctx, data.toCommandOrg())
if err != nil {
l.renderRegisterOrg(w, r, authRequest, data, err)
return