Skip to content

Commit

Permalink
added cursor to comment model (#1260)
Browse files Browse the repository at this point in the history
Co-authored-by: Sunday Onoriode <sunday-onoriode@Sunday-Onoriode-MacBook-Pro.local>
  • Loading branch information
sunday-okpoluaefe and Sunday Onoriode committed May 27, 2021
1 parent 2861100 commit a889c62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/com/kickstarter/services/KSApolloClient.kt
Expand Up @@ -250,7 +250,9 @@ class KSApolloClient(val service: ApolloClient) : ApolloClientType {
.map { project ->

val comments = project?.comments()?.edges()?.map { edge ->
createCommentObject(edge?.node()?.fragments()?.comment())
createCommentObject(edge?.node()?.fragments()?.comment()).toBuilder()
.cursor(edge?.cursor())
.build()
}

CommentEnvelope.builder()
Expand Down

0 comments on commit a889c62

Please sign in to comment.