diff --git a/src/BUTR.Site.NexusMods.Client/Services/CrashReportsClientWithDemo.cs b/src/BUTR.Site.NexusMods.Client/Services/CrashReportsClientWithDemo.cs index 01aab08e..de8323a5 100644 --- a/src/BUTR.Site.NexusMods.Client/Services/CrashReportsClientWithDemo.cs +++ b/src/BUTR.Site.NexusMods.Client/Services/CrashReportsClientWithDemo.cs @@ -76,7 +76,7 @@ public async Task GetAutocompleteModuleIdsAsync(strin return new StringIListApiResultModel((await _implementation.GetAutocompleteModuleIdsAsync(modId, ct)).Value ?? Array.Empty(), null!); } - public async Task UpdateAsync(Guid crash_report_id, CrashReportStatus? status = null, string? comment = null, CancellationToken ct = default) + public async Task 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) @@ -84,6 +84,6 @@ public async Task UpdateAsync(Guid crash_report_id, CrashR return new StringApiResultModel("demo", null!); } - return await _implementation.UpdateAsync(crash_report_id, status, comment, ct); + return await _implementation.UpdateAsync(crash_report_id, body, ct); } } \ No newline at end of file