fixes param names
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
This commit is contained in:
parent
d1290f73c1
commit
44809f4012
@ -56,8 +56,7 @@ internal class PiwigoAddCommand : CancellableAsyncCommand<PiwigoAddCommand.Piwig
|
|||||||
[CommandArgument(0, "<ServerName>")] public string ServerName { get; init; } = string.Empty;
|
[CommandArgument(0, "<ServerName>")] public string ServerName { get; init; } = string.Empty;
|
||||||
[CommandArgument(1, "<UserName>")] public string UserName { 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(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;
|
[CommandArgument(4, "<RootDirectory>")] public string RootDirectory { get; init; } = string.Empty;
|
||||||
|
|
||||||
public override ValidationResult Validate()
|
public override ValidationResult Validate()
|
||||||
|
@ -63,7 +63,7 @@ internal class PiwigoUpdateCommand : CancellableAsyncCommand<PiwigoUpdateCommand
|
|||||||
[CommandArgument(0, "[ServerName]")] public string? ServerName { get; init; }
|
[CommandArgument(0, "[ServerName]")] public string? ServerName { get; init; }
|
||||||
[CommandArgument(1, "[UserName]")] public string? UserName { get; init; }
|
[CommandArgument(1, "[UserName]")] public string? UserName { get; init; }
|
||||||
[CommandArgument(2, "[Password]")] public string? Password { 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; }
|
[CommandArgument(4, "[RootDirectory]")] public string? RootDirectory { get; init; }
|
||||||
|
|
||||||
public override ValidationResult Validate()
|
public override ValidationResult Validate()
|
||||||
|
Loading…
Reference in New Issue
Block a user