#!/usr/bin/env bash

# updates the allocation sheet types in the database via service API.
# If this is not done, allocations from the client will be rejected
# for having an invalid sheet type.
FIRST_ARG=$1
BASE_URL="${FIRST_ARG:-"http://0.0.0.0:5007"}"
curl --location --request PUT "$BASE_URL/v1/sheet-type" \
--header 'Content-Type: application/json' \
--data '["weekends", "weekdays"]'
