Make ExportPath non-nullable in ConfigDto

Changed ExportPath from a nullable string to a non-nullable string in ConfigDto and initialized it with the null-forgiving operator. This ensures ExportPath always has a value and cannot be null.
This commit is contained in:
2026-03-09 16:30:39 +01:00
parent 8f3aa69cbf
commit 473358e2b9

View File

@@ -31,7 +31,7 @@ public class ConfigDto
/// <summary> /// <summary>
/// Gets or sets the path where exports will be saved. /// Gets or sets the path where exports will be saved.
/// </summary> /// </summary>
public string? ExportPath { get; set; } public string ExportPath { get; set; } = null!;
/// <summary> /// <summary>
/// Gets or sets the creation timestamp. /// Gets or sets the creation timestamp.