diff --git a/restapi/restapi.go b/restapi/restapi.go index cf3c7ad..6a9f126 100644 --- a/restapi/restapi.go +++ b/restapi/restapi.go @@ -96,8 +96,7 @@ WHERE normalized ilike format('%%%s %s%%', a1.word, a2.word) AND identifiedat > current_timestamp - interval '60 minutes' GROUP BY 1 HAVING count(*) > 1 -ORDER BY 2 DESC LIMIT 20; -` +ORDER BY 2 DESC LIMIT 20;` rows, err := pool.Query(context.Background(), sql) if err != nil { panic(err)