type mismatch
This commit is contained in:
@@ -32,7 +32,7 @@ type CreateShelfRequest struct {
|
|||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
RoomNumber string `json:"room_number,omitempty"`
|
RoomNumber string `json:"room_number,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
BuildingID uint64 `json:"building_id"`
|
BuildingID *uint64 `json:"building_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c CreateShelfRequest) Bind(r *http.Request) error { return nil }
|
func (c CreateShelfRequest) Bind(r *http.Request) error { return nil }
|
||||||
|
|||||||
Reference in New Issue
Block a user