From 21da8145a6ae4b88efb19ae8ec59e734ddad06d8 Mon Sep 17 00:00:00 2001 From: Stig Ofstad Date: Mon, 15 Mar 2021 08:28:54 +0100 Subject: [PATCH] dont change date-stamp at midnight --- src/Api.cs | 4 +++- src/version | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Api.cs b/src/Api.cs index 99cb350..212c345 100644 --- a/src/Api.cs +++ b/src/Api.cs @@ -18,6 +18,8 @@ public class Api private readonly string _migrationsUrl = $"{Config.GithubURL}/orgs/{Config.Organization}/migrations"; private readonly string _repoUrl = $"{Config.GithubURL}/orgs/{Config.Organization}/repos"; + private readonly string DateToday = $"{DateTime.Now:dd_MM_yyyy}"; + public Api() { Client.DefaultRequestHeaders.Add("Authorization", $"Bearer {Config.GithubToken}"); @@ -137,7 +139,7 @@ public async Task DownloadArchive(int migrationId, int volume, List