Grant Tailnet access and harden Zulip bootstrap
This commit is contained in:
parent
801e0fb419
commit
b8cad4c028
6 changed files with 90 additions and 9 deletions
|
|
@ -344,8 +344,8 @@ existing_application="$(
|
|||
)"
|
||||
|
||||
if [[ -n "$existing_application" ]]; then
|
||||
application_pk="existing"
|
||||
api PATCH "/api/v3/core/applications/${application_slug}/" "$application_payload" >/dev/null
|
||||
application_pk="$(printf '%s\n' "$existing_application" | jq -r '.pk')"
|
||||
api PATCH "/api/v3/core/applications/${application_pk}/" "$application_payload" >/dev/null
|
||||
else
|
||||
create_application_result="$(
|
||||
api_with_status POST "/api/v3/core/applications/" "$application_payload"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue