Make sure update and edit work for location, API or not.

This commit is contained in:
James Cole
2020-01-02 19:12:40 +01:00
parent f7d6a4c6f9
commit e1577a4a76
6 changed files with 35 additions and 20 deletions

View File

@@ -101,7 +101,7 @@ class AccountUpdateService
$this->updateMetaData($account, $data);
// update, delete or create location:
$updateLocation = $data['has_location'] ?? false;
$updateLocation = $data['update_location'] ?? false;
// location must be updated?
if (true === $updateLocation) {