Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from vulncheck-oss/cursor-meta-fix
Browse files Browse the repository at this point in the history
fix cursor meta mapping
  • Loading branch information
acidjazz authored May 13, 2024
2 parents 1cedcd0 + 198eb98 commit 6a2ca6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cursor_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ type IndexMetaCursor struct {
}

type IndexCursorResponse struct {
Benchmark float64 `json:"_benchmark"`
Meta IndexMeta `json:"_meta"`
Data []interface{} `json:"data"`
Benchmark float64 `json:"_benchmark"`
Meta IndexMetaCursor `json:"_meta"`
Data []interface{} `json:"data"`
}

// https://docs.vulncheck.com/api/cursor
Expand Down

0 comments on commit 6a2ca6e

Please sign in to comment.