1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-24 14:51:28 +01:00

fix: empty query error

This commit is contained in:
Rongjian Zhang 2019-12-26 13:58:23 +08:00
parent da48561b62
commit 1ef1a5182e

View File

@ -77,6 +77,8 @@ $key: pullRequest(number: ${item.number}) {
}); });
schema += '}'; schema += '}';
if (schema == '{}') return _groupMap;
// Fimber.d(schema); // Fimber.d(schema);
var data = await Provider.of<AuthModel>(context).query(schema); var data = await Provider.of<AuthModel>(context).query(schema);
_groupMap.forEach((repo, group) { _groupMap.forEach((repo, group) {