to_upstream #2

Merged
mountain merged 2 commits from ws/maingate:to_upstream into master 2024-07-18 15:09:47 +09:00
4 changed files with 17 additions and 26 deletions
Showing only changes of commit 894663ed38 - Show all commits

View File

@ -735,7 +735,7 @@ func (sh *serviceDescription) authorize(w http.ResponseWriter, r *http.Request)
// platform + id -> account id
createtime := primitive.NewDateTimeFromTime(time.Now().UTC())
link, err := sh.mongoClient.FindOneAndUpdate(CollectionLink, bson.M{
"platform": authtype,
"platform": reqauthtype,
"uid": uid,
}, bson.M{
"$setOnInsert": bson.M{