From 8dfc06e6d2deb8bafe93a06efbff06cfb1aa53b0 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 2 Mar 2024 03:23:26 +0000 Subject: [PATCH] refactor!: pageSize is now required parameter --- OliverBooth.Common/Services/IBlogPostService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth.Common/Services/IBlogPostService.cs b/OliverBooth.Common/Services/IBlogPostService.cs index df5ed58..5805487 100644 --- a/OliverBooth.Common/Services/IBlogPostService.cs +++ b/OliverBooth.Common/Services/IBlogPostService.cs @@ -42,7 +42,7 @@ public interface IBlogPostService /// The zero-based index of the page to return. /// The maximum number of posts to return per page. /// A collection of blog posts. - IReadOnlyList GetBlogPosts(int page, int pageSize = 10); + IReadOnlyList GetBlogPosts(int page, int pageSize); /// /// Returns the drafts of this post, sorted by their update timestamp.