From 1162d435dce347f80c4abaad49ec9fcf342118c8 Mon Sep 17 00:00:00 2001 From: Kostas Lekkas Date: Mon, 26 Sep 2016 07:32:24 +0300 Subject: [PATCH] Generate JS --- build/models/build.js | 9 ++++++++- build/models/device.js | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/build/models/build.js b/build/models/build.js index fab05cfa6..ac77f64df 100644 --- a/build/models/build.js +++ b/build/models/build.js @@ -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'], diff --git a/build/models/device.js b/build/models/device.js index 614e21186..1e640b60e 100644 --- a/build/models/device.js +++ b/build/models/device.js @@ -150,7 +150,14 @@ limitations under the License. options: { filter: { application: { - app_name: name + $any: { + $alias: 'a', + $expr: { + a: { + app_name: name + } + } + } } }, expand: 'application',