Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/providers/urlscan/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type apiResponse struct {

type searchResult struct {
Page archivedPage
Sort []interface{} `json:"sort"`
Sort []any `json:"sort"`
}

type archivedPage struct {
Expand All @@ -24,7 +24,7 @@ type archivedPage struct {
Status string `json:"status"`
}

func parseSort(sort []interface{}) string {
func parseSort(sort []any) string {
var sortParam []string
for _, t := range sort {
switch t.(type) {
Expand Down