Closed noway closed 3 years ago
Currently Will is just returning false if a check fails.
For example in the spec it says
Check if the payload received from the QR Code begins with the prefix NZCP:/, if it does not then fail.
We should do something like
return { success: false, code: 100, message: "Payload must begin with \"NZCP:/\""}
Hey, I'd like to work on this
We're happy with the structure we landed on and now are just working though the spec.
Currently Will is just returning false if a check fails.
For example in the spec it says
Check if the payload received from the QR Code begins with the prefix NZCP:/, if it does not then fail.
We should do something like
return { success: false, code: 100, message: "Payload must begin with \"NZCP:/\""}