1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 09:43:25 +00:00

[pm-337] Remove the continuation token from the ListResponseModel. (#5192)

This commit is contained in:
Jimmy Vo
2025-02-03 14:55:57 -05:00
committed by GitHub
parent fe983aff7f
commit 060e9e60bf
3 changed files with 13 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
namespace Bit.Api.Models.Public.Response;
public class PagedListResponseModel<T>(IEnumerable<T> data, string continuationToken) : ListResponseModel<T>(data)
where T : IResponseModel
{
/// <summary>
/// A cursor for use in pagination.
/// </summary>
public string ContinuationToken { get; set; } = continuationToken;
}