new(whatsapp.gblib): New provider.
This commit is contained in:
parent
736490dd94
commit
1bed84a869
1 changed files with 3 additions and 3 deletions
|
@ -953,7 +953,7 @@ export class SystemKeywords {
|
||||||
|
|
||||||
let folder;
|
let folder;
|
||||||
if (dest.indexOf('/') !== -1) {
|
if (dest.indexOf('/') !== -1) {
|
||||||
const pathOnly = path.dirname(dest);
|
const pathOnly = Path.dirname(dest);
|
||||||
folder = await this.createFolder(pathOnly);
|
folder = await this.createFolder(pathOnly);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -971,7 +971,7 @@ export class SystemKeywords {
|
||||||
.get();
|
.get();
|
||||||
const destFile = {
|
const destFile = {
|
||||||
"parentReference": { driveId: folder.parentReference.driveId, id: folder.id },
|
"parentReference": { driveId: folder.parentReference.driveId, id: folder.id },
|
||||||
"name": `${path.basename(dest)}`
|
"name": `${Path.basename(dest)}`
|
||||||
}
|
}
|
||||||
|
|
||||||
return await client.api(
|
return await client.api(
|
||||||
|
@ -1022,7 +1022,7 @@ export class SystemKeywords {
|
||||||
|
|
||||||
let folder;
|
let folder;
|
||||||
if (dest.indexOf('/') !== -1) {
|
if (dest.indexOf('/') !== -1) {
|
||||||
const pathOnly = path.dirname(dest);
|
const pathOnly = Path.dirname(dest);
|
||||||
folder = await this.createFolder(pathOnly);
|
folder = await this.createFolder(pathOnly);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue