X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fuser.py;h=64d5c691f9a972eb6b111bf5c38262d46c6d1a76;hb=a2999a460707408e636d81fe8e735a7625def0d4;hp=689d359d9a2c5603dc23f23727cd6e069e11f44a;hpb=93012adc64eb063b27bc030c9d6734d1db782cbd;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/user.py b/osmclient/sol005/user.py index 689d359..64d5c69 100644 --- a/osmclient/sol005/user.py +++ b/osmclient/sol005/user.py @@ -140,7 +140,7 @@ class User(object): if not update_user: raise ClientException("At least something should be changed.") - http_code, resp = self._http.put_cmd(endpoint='{}/{}'.format(self._apiBase, myuser['_id']), + http_code, resp = self._http.patch_cmd(endpoint='{}/{}'.format(self._apiBase, myuser['_id']), postfields_dict=update_user) # print('HTTP CODE: {}'.format(http_code)) # print('RESP: {}'.format(resp))