Skip to content

Commit 9fc9354

Browse files
authored
chore: force trigger docker release (#24)
1 parent 322cff0 commit 9fc9354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pagination/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ func HandleCursorResponseEnvelope(w http.ResponseWriter, r *http.Request) {
160160

161161
w.Header().Set("Content-Type", "application/json")
162162
var lastItem *string
163+
// conditionally set lastItem
163164
if len(resultArray) > 0 {
164165
idx := strconv.Itoa(resultArray[len(resultArray)-1].(int))
165166
lastItem = &idx
166167
} else {
167168
lastItem = nil
168169
}
169-
170170
res := PaginationResponseDeep{
171171
PageInfo: PageInfo{
172172
Next: lastItem,

0 commit comments

Comments
 (0)