Fetch environment before checking its `state`
This is because `state` isn't exposed from the nested `environment` in
the deployments endpoint. We need to fetch the environment details in
order to access its state.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Showing
Please register or sign in to comment