-
-
Save nsanden/f7057c7dcbbbca45c1897041f9b79fc2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.num_reserved = order_data.match(/\"str1\"\:.*\n/)[0].match(/\d+/)[0] | |
change to | |
self.num_reserved = order_data.match(/\"str1\"\:.*\n/)[0].match(/\d+/)[0] | |
if(!self.num_reserved) | |
self.num_reserved = order_data.match(/\"str2\"\:.*\n/)[0].match(/\d+/)[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment