mirror of https://github.com/calzoneman/sync.git
mediarefresher: fix google drive ignores
This commit is contained in:
parent
00fd0482a5
commit
c97332947d
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue