Skip to content

Commit

Permalink
Generate JS
Browse files Browse the repository at this point in the history
  • Loading branch information
lekkas committed Sep 26, 2016
1 parent 0dccf39 commit 1162d43
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion build/models/build.js
Expand Up @@ -57,7 +57,14 @@ limitations under the License.
resource: 'build',
filter: {
application: {
app_name: name
$any: {
$alias: 'a',
$expr: {
a: {
app_name: name
}
}
}
}
},
select: ['id', 'created_at', 'commit_hash', 'push_timestamp', 'start_timestamp', 'end_timestamp', 'project_type', 'status', 'message'],
Expand Down
9 changes: 8 additions & 1 deletion build/models/device.js
Expand Up @@ -150,7 +150,14 @@ limitations under the License.
options: {
filter: {
application: {
app_name: name
$any: {
$alias: 'a',
$expr: {
a: {
app_name: name
}
}
}
}
},
expand: 'application',
Expand Down

0 comments on commit 1162d43

Please sign in to comment.