Skip to content

Commit 03559f8

Browse files
fixed auth flow and updated to .net 10
1 parent 9795c01 commit 03559f8

File tree

7 files changed

+258
-82
lines changed

7 files changed

+258
-82
lines changed

Compressor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class FileProcessor
1212
public void CreateTarGz(string outputPath, string inputDirectory)
1313
{
1414
using Stream targetStream = File.OpenWrite(outputPath);
15-
using var writer = WriterFactory.Open(targetStream, ArchiveType.Tar, CompressionType.GZip);
15+
using var writer = WriterFactory.OpenWriter(targetStream, ArchiveType.Tar, new WriterOptions(CompressionType.GZip));
1616
writer.WriteAll(inputDirectory, searchPattern: "*", SearchOption.AllDirectories);
1717
}
1818

DataModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class Team
4444
public string createdAt { get; set; }
4545
}
4646

47-
public class NoteResponse
47+
public class NoteResponse
4848
{
4949
public Result result { get; set; }
5050
}
@@ -62,3 +62,4 @@ public class Result
6262
public string revisionCount { get; set; }
6363
}
6464

65+

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
1+
FROM mcr.microsoft.com/dotnet/runtime:10.0 AS base
22
USER $APP_UID
33
WORKDIR /app
44

5-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
66
ARG BUILD_CONFIGURATION=Release
77
WORKDIR /src
88
COPY ["HackMdBackup.csproj", "./"]

0 commit comments

Comments
 (0)