aboutsummaryrefslogtreecommitdiff
path: root/src/services/UserProfileService.ts
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-17 12:01:22 -0700
committerBrian Kim <brian@tagg.id>2021-05-17 12:01:22 -0700
commit6a74b270d24f04e36821398b83863d5b97e1b44b (patch)
tree0fec39a777eb51608615334cc7568e76b9f10a69 /src/services/UserProfileService.ts
parent37b37f296a59aea43e73f615ae6cb042b2242e87 (diff)
Fixed bugs for plus sign in profile
Diffstat (limited to 'src/services/UserProfileService.ts')
-rw-r--r--src/services/UserProfileService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts
index 8b7b78e1..19d353aa 100644
--- a/src/services/UserProfileService.ts
+++ b/src/services/UserProfileService.ts
@@ -442,7 +442,7 @@ export const verifyExistingInformation = async (
const form = new FormData();
if (email) {
form.append('email', email);
- }
+ }
if (username) {
form.append('username', username);
}
@@ -453,7 +453,7 @@ export const verifyExistingInformation = async (
},
body: form,
});
- return response.status===200;
+ return response.status === 200;
} catch (error) {
console.log(error);
return false;