Tobias von Dewitz 3 gadi atpakaļ
vecāks
revīzija
7862ff7101
2 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 0 1
      request_data.go
  2. 1 0
      v2/request_data.go

+ 0 - 1
request_data.go

@@ -40,7 +40,6 @@ type RequestData struct {
 	Customer       string                 `bson:"customer" json:"customer,omitempty" form:"customer,omitempty" url:"customer,omitempty"`
 	DataRaw        map[string]interface{} `bson:"data_raw" json:"data_raw,omitempty" form:"data_raw,omitempty" url:"data_raw,omitempty"`
 	Weight         uint64                 `bson:"weight" json:"weight,omitempty" form:"weight,omitempty" url:"weight,omitempty"`
-	Type           string                 `bson:"type" json:"type,omitempty" form:"type:omitempty" url:"type,omitempty"`
 	Grs            grs.GRS                `bson:"grs" json:"grs,omitempty" form:"grs,omitempty" url:"grs,omitempty"`
 }
 

+ 1 - 0
v2/request_data.go

@@ -40,6 +40,7 @@ type RequestData struct {
 	DataRaw        map[string]interface{} `bson:"data_raw" json:"data_raw,omitempty" form:"data_raw,omitempty" url:"data_raw,omitempty"`
 	Weight         uint64                 `bson:"weight" json:"weight,omitempty" form:"weight,omitempty" url:"weight,omitempty"`
 	Meta           *ipmeta.Meta           `bson:"meta" json:"meta,omitempty" url:"meta,omitempty" `
+	Type           string                 `bson:"type" json:"type,omitempty" form:"type:omitempty" url:"type,omitempty"`
 }
 
 func (a *RequestData) Less(b btree.Item) bool {