From d8e2a36f4fca791c1ec6fe0bcd96a47f767a1294 Mon Sep 17 00:00:00 2001
From: Icaro Motta <icaro.ldm@gmail.com>
Date: Fri, 23 Aug 2024 21:21:32 -0300
Subject: [PATCH] chore(multiaccount)_: Simplify function

---
 mobile/status.go | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mobile/status.go b/mobile/status.go
index b04059f8e95..bfe604e9a46 100644
--- a/mobile/status.go
+++ b/mobile/status.go
@@ -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 {