Skip to content

Commit

Permalink
chore(multiaccount)_: Simplify function
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Aug 24, 2024
1 parent 5daec47 commit d8e2a36
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mobile/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,7 @@ func CreateAccountAndLogin(requestJSON string) string {

func AcceptTerms() string {
err := statusBackend.AcceptTerms()
if err != nil {
return makeJSONResponse(err)
}
return makeJSONResponse(nil)
return makeJSONResponse(err)
}

func LoginAccount(requestJSON string) string {
Expand Down

0 comments on commit d8e2a36

Please sign in to comment.