Skip to content

Commit

Permalink
Fix initalization
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArchibald committed Aug 27, 2020
1 parent 287dfef commit 0a51bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backendMongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (b *backendMongo) VerifyEmail(email string) (string, error) {
}

func (b *backendMongo) UpdateInfo(userID string, info map[string]interface{}) error {
var set bson.M
set := make(bson.M)
for key := range info {
set["info."+key] = info[key]
}
Expand Down

0 comments on commit 0a51bfc

Please sign in to comment.