Fix a blocking queries bug

The lowest valid blocking query index is 1, but the API will return 0 if
there has yet to be an index set (no response). This in conjunction with
that 0 being stored as a string made the "fallback to 1" guard not work.
This commit is contained in:
Michael Lange 2018-08-21 13:47:01 -07:00
parent b3c2538c68
commit c81ba192dc
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ export default Service.extend({
},
setIndexFor(url, value) {
list[url] = value;
list[url] = +value;
},
});