missing bson model on graph

This commit is contained in:
mr 2024-07-23 09:15:42 +02:00
parent febabe67e7
commit 88c8feb7d8

View File

@ -35,7 +35,7 @@ type GraphLinkStyle struct {
}
type Position struct {
ID string `json:"ID" validate:"required"`
X float64 `json:"x" validate:"required"`
Y float64 `json:"y" validate:"required"`
ID string `json:"id" bson:"id" validate:"required"`
X float64 `json:"x" bson:"x" validate:"required"`
Y float64 `json:"y" bson:"y" validate:"required"`
}