Brewskey / spark-server

An API compatible open source server for interacting with devices speaking the spark-protocol
https://www.particle.io/
GNU Affero General Public License v3.0
54 stars 27 forks source link

Cannot upload device IDs with non-numeric characters #279

Closed jlkalberer closed 5 years ago

jlkalberer commented 5 years ago

When uploading device IDs to be added to productdevices, I'll get errors if there are non-numeric characters in the particle ID. I think this is due to the fact that we save a lower-case but are comparing with uppercase.

Check to make sure we transform the IDs to upper/lower across the project and make things consistent.