Skip to content

Commit

Permalink
deps: update flow-bin to version 0.32.0 🚀 (#356)
Browse files Browse the repository at this point in the history
* chore(package): update flow-bin to version 0.32.0

https://greenkeeper.io/

* chore: improve ci set up (#350)

* chore: improve ci set up

fix: add mssql to test-app dependencies

* fix: use eol chars and reorder pgsql args

* fix: cd back into the project root at the end of scripts/appveyor/before-test.ps1

* fix: disable cache for appveyor build

* fix: use create/drop database instead of create/drop schema

* fix: update appveyor os and platform config

* fix: do not run flow on appveyor

* fix: update postgres protocol in appveyor.yml

* fix: postgres appveyor build

* fix: run create/drop database script for mssql

* fix: use different connection string for mssql

* fix: use config object for database

* fix: typo in test-app database config

* refactor: speed up ci builds

* fix: run postgres setup as batch on appveyor

* fix: invalid appveyor.yml file

* fix: do not test agains mssql or postgres on windows yet

fix: new flow errors
  • Loading branch information
greenkeeperio-bot authored and zacharygolba committed Sep 3, 2016
1 parent 48d1cf8 commit ce55682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"chai": "3.5.0",
"documentation": "4.0.0-beta9",
"eslint-plugin-flowtype": "2.11.4",
"flow-bin": "0.31.1",
"flow-bin": "0.32.0",
"isomorphic-fetch": "2.2.1",
"mocha": "3.0.2",
"rollup-plugin-multi-entry": "2.0.1"
Expand Down
4 changes: 2 additions & 2 deletions src/packages/controller/utils/params-to-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export default function paramsToQuery(model: Model, {
relationship
] = relationships.find(([, { model: related }]) => {
return key === related.resourceName;
});
}) || [];

if (!relationship) {
if (!name || !relationship) {
return result;
}

Expand Down

0 comments on commit ce55682

Please sign in to comment.