Fix Zulip bootstrap user handling
This commit is contained in:
parent
824bbd9d67
commit
b70b62dfef
3 changed files with 7 additions and 12 deletions
|
|
@ -294,8 +294,8 @@ existing_application="$(
|
|||
)"
|
||||
|
||||
if [[ -n "$existing_application" ]]; then
|
||||
application_pk="$(printf '%s\n' "$existing_application" | jq -r '.pk')"
|
||||
api PATCH "/api/v3/core/applications/${application_pk}/" "$application_payload" >/dev/null
|
||||
application_pk="existing"
|
||||
api PATCH "/api/v3/core/applications/${application_slug}/" "$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