Commit 1f8a61ab45dca7b9d29d9e18d14e4839d737845e
1 parent
0a18f56785
Removing the hard-coded token from the success path
Showing 1 changed file with 3 additions and 3 deletions
app/scripts/vendor/coseme-client/client.js
View file @
1f8a61a
... | ... | @@ -37,11 +37,10 @@ |
37 | 37 | |
38 | 38 | if (typeof window.navigator.getDeviceStorage === 'function') { |
39 | 39 | _sdcard = navigator.getDeviceStorage('sdcard'); |
40 | - _seedForId = 'c9qjareu'; // testing purposes | |
41 | 40 | } |
42 | 41 | else { |
43 | 42 | console.error('There is no getDeviceStorage API'); |
44 | - _seedForId = 'rr6wol76'; // testing purposes | |
43 | + _seedForId = 'c9qjareu'; // testing purposes | |
45 | 44 | } |
46 | 45 | |
47 | 46 | function getSeed(callback) { |
... | ... | @@ -54,7 +53,8 @@ |
54 | 53 | } |
55 | 54 | |
56 | 55 | // Get the file handler |
57 | - console.log('OpenWapp: Getting the seed file from sdcard: ' + SEED_FILENAME); | |
56 | + console.log('OpenWapp: Getting the seed file from sdcard: ' + | |
57 | + SEED_FILENAME); | |
58 | 58 | var request = _sdcard.get(SEED_FILENAME); |
59 | 59 | request.onsuccess = function _getFileSuccess() { |
60 | 60 | var file = this.result; |