Fix typos
This commit is contained in:
parent
d0fde0c29e
commit
7fa4f08c00
|
@ -15,7 +15,7 @@ async def create_users(user: UserRegister, req: Request):
|
|||
request_id = req.state.request_id
|
||||
header = {"x-api-request-id": request_id}
|
||||
(response, status, _) = await request(
|
||||
f"{API_USERS}", "POST", json=user.dump_model(), headers=header
|
||||
f"{API_USERS}", "POST", json=user.model_dump(), headers=header
|
||||
)
|
||||
if status < 200 or status > 204:
|
||||
raise HTTPException(status_code=status, detail=response)
|
||||
|
|
4
run.sh
4
run.sh
|
@ -207,7 +207,7 @@ elif [ -n "$down" ]; then
|
|||
docker compose -f flights-domain/docker-compose.yml --env-file flights-domain/.env.prod down
|
||||
export API_IMAGE=$USER/user-manager:prod
|
||||
docker compose -f auth-domain/docker-compose.yml --env-file auth-domain/.env.prod down
|
||||
export API_IMAGE=slococo/subs-manager:prod
|
||||
export API_IMAGE=$USER/subs-manager:prod
|
||||
docker compose -f subscription-domain/docker-compose.yml --env-file subscription-domain/.env.prod down
|
||||
export API_IMAGE=$USER/gateway:prod
|
||||
docker compose -f gateway/docker-compose.yml --env-file gateway/.env.prod down
|
||||
|
@ -237,7 +237,7 @@ else
|
|||
docker compose -f auth-domain/docker-compose.yml --env-file auth-domain/.env.prod up -d
|
||||
docker compose -f auth-domain/docker-compose.yml --env-file auth-domain/.env.prod exec auth-api python manage.py recreate_db
|
||||
docker compose -f auth-domain/docker-compose.yml --env-file auth-domain/.env.prod exec auth-api python manage.py seed_db
|
||||
export API_IMAGE=slococo/subs-manager:prod
|
||||
export API_IMAGE=$USER/subs-manager:prod
|
||||
docker compose -f subscription-domain/docker-compose.yml --env-file subscription-domain/.env.prod down
|
||||
docker compose -f subscription-domain/docker-compose.yml --env-file subscription-domain/.env.prod up -d
|
||||
export API_IMAGE=$USER/gateway:prod
|
||||
|
|
Loading…
Reference in New Issue