type mismatch
This commit is contained in:
@@ -29,10 +29,10 @@ type ShelfLocation struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
type CreateShelfRequest struct {
|
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