diff --git a/src/main/java/com/listywave/user/application/dto/FollowersResponse.java b/src/main/java/com/listywave/user/application/dto/FollowersResponse.java index 31eac314..56709835 100644 --- a/src/main/java/com/listywave/user/application/dto/FollowersResponse.java +++ b/src/main/java/com/listywave/user/application/dto/FollowersResponse.java @@ -9,6 +9,7 @@ public record FollowersResponse( List followers, int totalCount, + Long cursorId, boolean hasNext ) { @@ -16,6 +17,7 @@ public static FollowersResponse of(List users, int totalCount, boolean has return FollowersResponse.builder() .followers(FollowerInfo.toList(users)) .totalCount(totalCount) + .cursorId(users.get(users.size() - 1).getId()) .hasNext(hasNext) .build(); }