Skip to content

Commit

Permalink
Merge pull request #108 from arduino/os
Browse files Browse the repository at this point in the history
Send os to builder compute
  • Loading branch information
Stefania authored Mar 29, 2019
2 parents dc09a0a + bf89dbc commit 7aa99a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arduino-create-agent-js-client",
"version": "2.1.10",
"version": "2.1.11",
"description": "JS module providing discovery of the Arduino Create Plugin and communication with it",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class Daemon {
// Fetch command line for the board
fetch(`${this.BOARDS_URL}/${target.board}/compute`, {
method: 'POST',
body: JSON.stringify({ action: 'upload', verbose })
body: JSON.stringify({ action: 'upload', verbose, os: this.agentInfo.os })
})
.then(result => result.json())
.then(uploadCommandInfo => {
Expand Down

0 comments on commit 7aa99a8

Please sign in to comment.