mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
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…
x
Reference in New Issue
Block a user