fix: typos

This commit is contained in:
Lakhan Samani
2021-08-07 14:11:26 +05:30
parent 52b59a72c5
commit 6a1b484557
16 changed files with 51 additions and 43 deletions

View File

@@ -97,7 +97,7 @@ func UpdateProfile(ctx context.Context, params model.UpdateProfileInput) (*model
return res, fmt.Errorf("user with this email address already exists")
}
session.DeleteToken(fmt.Sprintf("%d", user.ID))
session.DeleteToken(fmt.Sprintf("%v", user.ID))
utils.DeleteCookie(gc)
user.Email = newEmail