Browse Source

type mismatch

master
Brett Bender 2 years ago
parent
commit
4ec01d2e8e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      internal/types/shelves.go

+ 4
- 4
internal/types/shelves.go View File

@ -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 }


Loading…
Cancel
Save