replace not only one wildcard and replace % too
parent
d87cc90438
commit
8786903230
|
@ -21,7 +21,7 @@ var ERR = require("async-stacktrace");
|
|||
|
||||
exports.getPadRaw = function(padId, callback){
|
||||
|
||||
padId=padId.replace('*','')
|
||||
padId=padId.replace(/[\*%]/g,'')
|
||||
async.waterfall([
|
||||
function(cb){
|
||||
|
||||
|
|
Loading…
Reference in New Issue