From 1e1f5afd6f862b90df9e6652c67e344f5e73e421 Mon Sep 17 00:00:00 2001 From: Stepan Bujnak Date: Tue, 7 Nov 2023 21:48:31 +0100 Subject: [PATCH] Rename query_duration_seconds to query_file_duration_seconds (#43) --- pex_search.go | 2 +- private_search.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pex_search.go b/pex_search.go index d92d0ff..256019b 100644 --- a/pex_search.go +++ b/pex_search.go @@ -31,7 +31,7 @@ type PexSearchResult struct { // The assets which the query matched against. Matches []*PexSearchMatch `json:"matches"` - QueryDurationSeconds float32 `json:"query_duration_seconds"` + QueryFileDurationSeconds float32 `json:"query_file_duration_seconds"` } type PexSearchAsset struct { diff --git a/private_search.go b/private_search.go index 0f8b122..f0767a6 100644 --- a/private_search.go +++ b/private_search.go @@ -32,7 +32,7 @@ type PrivateSearchResult struct { // The assets which the query matched against. Matches []*PrivateSearchMatch `json:"matches"` - QueryDurationSeconds float32 `json:"query_duration_seconds"` + QueryFileDurationSeconds float32 `json:"query_file_duration_seconds"` } // PrivateSearchMatch contains detailed information about the match,