Merge pull request #2769 from ianw/update-account-json

Update account.json on account update
This commit is contained in:
neil 2020-03-07 19:50:17 +08:00 committed by GitHub
commit 0f24417cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3517,6 +3517,7 @@ updateaccount() {
_send_signed_request "$_accUri" "$updjson" _send_signed_request "$_accUri" "$updjson"
if [ "$code" = '200' ]; then if [ "$code" = '200' ]; then
echo "$response" >"$ACCOUNT_JSON_PATH"
_info "account update success for $_accUri." _info "account update success for $_accUri."
else else
_info "Error. The account was not updated." _info "Error. The account was not updated."