fixed doc env vars + mongo v2 migration
This commit is contained in:
@@ -2,10 +2,10 @@ package model
|
||||
|
||||
import (
|
||||
"github.com/tech/sendico/pkg/mservice"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
)
|
||||
|
||||
type Link struct {
|
||||
ObjectRef primitive.ObjectID `bson:"objectRef" json:"objectRef"`
|
||||
Type mservice.Type `bson:"type" json:"type"`
|
||||
ObjectRef bson.ObjectID `bson:"objectRef" json:"objectRef"`
|
||||
Type mservice.Type `bson:"type" json:"type"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user