(I think this is a known issue for contributors, because it is a general behaviour of AbstractCrudObject, but couldn't find an existing issue)
in my case:
when await user.getAdAccounts(["id", "name"]) -> await adAccount.createCampaign(["id"], { name: campaignName, ... }) , it loses the name param and sends a request with { name: adAccountName, ... } not {name: campignName}.
in repo:
in createEdge(), params are overwritten with a wrong value by params = Object.assign(params, this.exportData());
Which SDK version are you using?
17.0.1
What's the issue?
(I think this is a known issue for contributors, because it is a general behaviour of
AbstractCrudObject
, but couldn't find an existing issue)await user.getAdAccounts(["id", "name"])
->await adAccount.createCampaign(["id"], { name: campaignName, ... })
, it loses the name param and sends a request with{ name: adAccountName, ... }
not{name: campignName}
.createEdge()
,params
are overwritten with a wrong value byparams = Object.assign(params, this.exportData());
Steps/Sample code to reproduce the issue
Observed Results:
Expected Results: