Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCampaigns - query options not available #11

Open
BarryDowden opened this issue Jul 15, 2020 · 0 comments
Open

getCampaigns - query options not available #11

BarryDowden opened this issue Jul 15, 2020 · 0 comments

Comments

@BarryDowden
Copy link

BarryDowden commented Jul 15, 2020

Hi,

campain.js:

getCampaigns: function(options) { var path = util.createPath( 'campaigns.json' ); options = _.extend({}, options, { _method: 'GET' }); return this._connection.get(path, {data: options}); }

the connection.get uses data and not query so when passed to restler the query options cant be parsed. as

this.options.query

is not available its

this.options.data

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant