fixes param names
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2023-09-10 23:08:32 +02:00
parent d1290f73c1
commit 44809f4012
2 changed files with 2 additions and 3 deletions

View File

@ -56,8 +56,7 @@ internal class PiwigoAddCommand : CancellableAsyncCommand<PiwigoAddCommand.Piwig
[CommandArgument(0, "<ServerName>")] public string ServerName { get; init; } = string.Empty;
[CommandArgument(1, "<UserName>")] public string UserName { get; init; } = string.Empty;
[CommandArgument(2, "<Password>")] public string Password { get; init; } = string.Empty;
[CommandArgument(3, "<Password>")] public string Url { get; init; } = string.Empty;
[CommandArgument(3, "<Url>")] public string Url { get; init; } = string.Empty;
[CommandArgument(4, "<RootDirectory>")] public string RootDirectory { get; init; } = string.Empty;
public override ValidationResult Validate()

View File

@ -63,7 +63,7 @@ internal class PiwigoUpdateCommand : CancellableAsyncCommand<PiwigoUpdateCommand
[CommandArgument(0, "[ServerName]")] public string? ServerName { get; init; }
[CommandArgument(1, "[UserName]")] public string? UserName { get; init; }
[CommandArgument(2, "[Password]")] public string? Password { get; init; }
[CommandArgument(3, "[Password]")] public string? Url { get; init; }
[CommandArgument(3, "[Url]")] public string? Url { get; init; }
[CommandArgument(4, "[RootDirectory]")] public string? RootDirectory { get; init; }
public override ValidationResult Validate()