Skip to content

Commit e7a06a4

Browse files
authored
Merge pull request #18 from foomo/fix/response-mapping
fix: unset pointers
2 parents c471d65 + 3561528 commit e7a06a4

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

.github/workflows/closed.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

collection.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ func (col *Collection[T]) Next() (*Collection[T], error) {
7272

7373
// override request query
7474
col.req.URL.RawQuery = col.String()
75+
col.Sys = nil
76+
col.Items = nil
77+
col.Includes = nil
78+
col.Errors = nil
79+
col.Details = nil
7580

7681
// makes api call
7782
err := col.c.do(col.req, &col)

0 commit comments

Comments
 (0)