From 83cbaff1cf3e0f78a36e1536382de4b933c2b88b Mon Sep 17 00:00:00 2001 From: n30nex Date: Tue, 29 Sep 2026 21:14:52 -0400 Subject: [PATCH] fix: address release review follow-ups for #174 --- db/queries/queries.sql | 2 -- internal/api/handlers/scopes.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/db/queries/queries.sql b/db/queries/queries.sql index 5019850..366bf42 100644 --- a/db/queries/queries.sql +++ b/db/queries/queries.sql @@ -1588,8 +1588,6 @@ WITH latest AS ( SELECT (SELECT heard_at FROM latest)::timestamptz AS latest_recorded_at, hourly.n AS last_complete_hour FROM hourly; --- Copyright 2026 Beacon Contributors --- SPDX-License-Identifier: AGPL-3.0-or-later -- name: GetScopeCatalogue :one SELECT * FROM meshmapper_scope_catalogues WHERE iata = $1 AND url = $2; diff --git a/internal/api/handlers/scopes.go b/internal/api/handlers/scopes.go index 5267ed1..c86de6f 100644 --- a/internal/api/handlers/scopes.go +++ b/internal/api/handlers/scopes.go @@ -24,6 +24,7 @@ func ScopesRouter(reader api.Reader) http.Handler { // listScopes godoc // // @Summary List transport scopes +// @Description The unfiltered list includes stored imported names after an importer is disabled or a source is removed. Those historical identities are retained indefinitely; listing them does not establish observed traffic or current source membership. // @Tags Scopes // @Produce json // @Param iatas query string false "Filter by IATA code(s), comma-separated"