diff --git a/internal/types/shelves.go b/internal/types/shelves.go index b5dac3a..ecab3d9 100644 --- a/internal/types/shelves.go +++ b/internal/types/shelves.go @@ -29,10 +29,10 @@ type ShelfLocation struct { */ type CreateShelfRequest struct { - Name string `json:"name"` - RoomNumber string `json:"room_number,omitempty"` - Description string `json:"description,omitempty"` - BuildingID uint64 `json:"building_id"` + Name string `json:"name"` + RoomNumber string `json:"room_number,omitempty"` + Description string `json:"description,omitempty"` + BuildingID *uint64 `json:"building_id"` } func (c CreateShelfRequest) Bind(r *http.Request) error { return nil }