update fails
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
type DataResource struct {
|
||||
resources.AbstractResource
|
||||
Protocols []string `json:"protocol,omitempty" bson:"protocol,omitempty"` //TODO Enum type
|
||||
DataType string `json:"datatype" bson:"datatype"`
|
||||
Example string `json:"example" bson:"example" description:"base64 encoded data"`
|
||||
DataType string `json:"datatype,omitempty" bson:"datatype"`
|
||||
Example string `json:"example,omitempty" bson:"example" description:"base64 encoded data"`
|
||||
}
|
||||
|
||||
func (dma *DataResource) Deserialize(j map[string]interface{}) utils.DBObject {
|
||||
|
Reference in New Issue
Block a user