setUserProperty doesn't support set value of a propertyKey
hongyin163 opened this issue · comments
Eric commented
Source code as follow:
async setUserProperty<T = unknown>(
parameters: Parameters.SetUserProperty,
callback?: Callback<T>,
): Promise<void | T> {
const config: RequestConfig = {
url: `/rest/api/3/user/properties/${parameters.propertyKey}`,
method: 'PUT',
params: {
accountId: parameters.accountId,
userKey: parameters.userKey,
username: parameters.username,
},
};
return this.client.sendRequest(config, callback);
}
File path:/src/version3/userProperties.ts
Perhaps, there is no data field in RequestConfig
, can you help me to fix it?
Vladislav Tupikin commented
Fixed in v2.15.16