Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed May 27, 2024
1 parent fead59c commit 661eb83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public async Task<StringIListApiResultModel> GetAutocompleteModuleIdsAsync(strin
return new StringIListApiResultModel((await _implementation.GetAutocompleteModuleIdsAsync(modId, ct)).Value ?? Array.Empty<string>(), null!);
}

public async Task<StringApiResultModel> UpdateAsync(Guid crash_report_id, CrashReportStatus? status = null, string? comment = null, CancellationToken ct = default)
public async Task<StringApiResultModel> UpdateAsync(Guid crash_report_id, CrashReportUpdateModel? body = null, CancellationToken ct = default)
{
var token = await _tokenContainer.GetTokenAsync(ct);
if (token?.Type.Equals("demo", StringComparison.OrdinalIgnoreCase) == true)
{
return new StringApiResultModel("demo", null!);
}

return await _implementation.UpdateAsync(crash_report_id, status, comment, ct);
return await _implementation.UpdateAsync(crash_report_id, body, ct);
}
}

0 comments on commit 661eb83

Please sign in to comment.