mediarefresher: fix google drive ignores

This commit is contained in:
calzoneman 2015-09-03 18:17:08 -07:00
parent 00fd0482a5
commit c97332947d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ MediaRefresherModule.prototype.refreshGoogleDocs = function (media, cb) {
}
if (typeof err === "string") {
err = err.replace(/Google Drive lookup failed: /, "");
err = err.replace(/Google Drive lookup failed for [\w-]+: /, "");
err = err.replace(/Forbidden/, "Access Denied");
err = err.replace(/You don't have permission to access this video\./,
"Access Denied");