화이트리스트 추가 안되는 문제 수정

This commit is contained in:
2023-09-12 17:07:16 +09:00
parent 117a3e5d90
commit 114461c51d
5 changed files with 9 additions and 36 deletions

View File

@ -34,7 +34,7 @@ type blockinfoWithStringId struct {
}
type whitelistmember struct {
Id primitive.ObjectID `bson:"_id" json:"_id"`
Id primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
Email string `bson:"email" json:"email"`
Platform string `bson:"platform" json:"platform"`
Desc string `bson:"desc" json:"desc"`