-
Notifications
You must be signed in to change notification settings - Fork 92
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
Use the DeviceOS versions endpoints when compiling #765
Use the DeviceOS versions endpoints when compiling #765
Conversation
@keeramis do you have any insight into why the e2e tests are failing? This seemed to start after the last merge into |
@@ -154,6 +154,17 @@ module.exports = class ParticleApi { | |||
); | |||
} | |||
|
|||
listDeviceOsVersions(platformId, internalVersion, perPage=100){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have different params I think might worth to transform it like {platformId, internalVersion, perPage=100} = {}
unless we can't use the params separately like just send internalVersion
without platformId
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. In this instance only platformId
parameter is being used. I kept the positional arguments instead of making them named (with {}
) to keep the function signature match the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@suda It was failing to login. Let's see if rerunning helps. I see that you are doing that already |
In this specific case just needed to re-run tests to make it all pass 😄 |
dbd20b8
to
f006e9a
Compare
Story details: https://app.shortcut.com/particle/story/129513