change export directory

This commit is contained in:
2022-12-28 07:51:41 +01:00
parent 149734cb19
commit 2bdea63c0a
3 changed files with 6 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ namespace WebAPI.Exports
Google.Apis.Drive.v3.Data.File body = new Google.Apis.Drive.v3.Data.File();
body.Name = $"export-{DateTime.Now}";
body.MimeType = "application/vnd.google-apps.spreadsheet";
body.Parents = new List<string> { "1Sar-9ux6GWlXKZiD-l1Mfh1gdsxZif3j" };
body.Parents = new List<string> { "1c5GBQmsIoj6a9L-JYFTaLEZ3EfkbQHPt" };
CreateRequest request = googleDriveHelper.Service.Files.Create(body);
var file = request.Execute();