Fixed single equals sign in if statement

The piece of code that checks if the http response for a certain card is 200 has if(err = 200) which will always be true. This means any card presented will be allowed entry.