Skip to content

Commit 80960fc

Browse files
try to fix failed test
1 parent 39105c3 commit 80960fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: public/js/lib/angularjs-crypto.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cryptoModule.config(['$httpProvider', function ($httpProvider) {
3737
},
3838
response: function (response) {
3939
var shouldCrypt = (response.config || false).crypt && defaultVal(response.config.decrypt, true);
40-
var pattern = (response.config)? response.config.pattern : cfg.pattern);
40+
var pattern = (response.config)? response.config.pattern : cfg.pattern;
4141
if (missingCryptoJs(shouldCrypt, cfg, $q)) {
4242
return q.reject('CryptoJS missing');
4343
}

0 commit comments

Comments
 (0)