From 894663ed384b9d45838784a42c1cfc94cbf5e186 Mon Sep 17 00:00:00 2001 From: rehjinh Date: Tue, 16 Jul 2024 14:38:59 +0900 Subject: [PATCH] =?UTF-8?q?reqauthtype=20=EC=9C=BC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=ED=95=98=EB=A9=B4=EC=84=9C=20=EB=B9=A0=EC=A7=84=20?= =?UTF-8?q?=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95=20->=20platform=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EA=B0=80=20flag=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=EB=A1=9C=20=EC=94=8C=EC=9B=8C=EC=A7=80=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/service.go b/core/service.go index e13b5d7..c9b4647 100644 --- a/core/service.go +++ b/core/service.go @@ -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{