Skip to content

Commit cf0fad5

Browse files
committed
Add missing type on SendResultsToApi.
1 parent e70d083 commit cf0fad5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Agent/Services/ScriptExecutor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private async Task<ScriptResult> ExecuteScriptContent(
196196
}
197197
throw new InvalidOperationException($"Unknown shell type: {shell}");
198198
}
199-
private async Task<ScriptResultResponse?> SendResultsToApi(object result, string expiringToken)
199+
private async Task<ScriptResultResponse?> SendResultsToApi(ScriptResult result, string expiringToken)
200200
{
201201
var targetURL = _configService.GetConnectionInfo().Host + $"/API/ScriptResults";
202202

0 commit comments

Comments
 (0)