Skip to content

Commit 33d002a

Browse files
committed
fix missing CanReturnApiError on GetCommentsAsync
1 parent 1a5ef0f commit 33d002a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

osu.NET/Endpoints/Comments.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public partial class OsuApiClient
2626
/// <param name="cursor">Optional. The cursor for fetching further comments.</param>
2727
/// <param name="cancellationToken">Optional. The cancellation token for aborting the request.</param>
2828
/// <returns>A bundle with comments.</returns>
29+
[CanReturnApiError()]
2930
public async Task<ApiResult<CommentsBundle>> GetCommentsAsync(int? after = null, CommentableType? type = null, int? commentableId = null,
3031
int? parentId = null, CommentSortType? sort = null, CommentsCursor? cursor = null, CancellationToken? cancellationToken = null)
3132
=> await GetAsync<CommentsBundle>("comments", cancellationToken,

0 commit comments

Comments
 (0)