sparkfun / phant

the data logging engine behind data.sparkfun.com
700 stars 99 forks source link

Storage cap is a string when requesting stats.json #73

Closed derekpitt closed 10 years ago

derekpitt commented 10 years ago

I hope this is the proper place to report this.

https://data.sparkfun.com/output/RMMW22NWWzh6oj1NyADE/stats.json returns cap as a string.

It looks like if process.env.PHANT_CAP is set, it trickles down everywhere as a string?

toddtreece commented 10 years ago

Thanks for catching that! I'll fix it in the next release.

toddtreece commented 10 years ago

@derekpitt this was fixed by 7bd3d04309ec4044075cc307787db74961f9ea57, and it should be deployed to data.sparkfun.com by the end of the day tomorrow.