Skip to content

Commit 1e63d40

Browse files
committed
Fixed a bug where webhook paging wasn't working due to a missing header.
1 parent 6d8ff98 commit 1e63d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless.Web/Controllers/WebHookController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public async Task<ActionResult<IReadOnlyCollection<WebHook>>> GetByProjectAsync(
4949
page = GetPage(page);
5050
limit = GetLimit(limit);
5151
var results = await _repository.GetByProjectIdAsync(projectId, o => o.PageNumber(page).PageLimit(limit));
52-
return OkWithResourceLinks(results.Documents.ToArray(), results.HasMore && !NextPageExceedsSkipLimit(page, limit), page);
52+
return OkWithResourceLinks(results.Documents.ToArray(), results.HasMore && !NextPageExceedsSkipLimit(page, limit), page, results.Total);
5353
}
5454

5555
/// <summary>

0 commit comments

Comments
 (0)