gilsondev / checkstatus-govbr

Projeto criado para acompanhar situação dos domínios .govbr registrados pela área pública
https://checkstatusgovbr.org
GNU General Public License v3.0
2 stars 1 forks source link

Erro na forma de buscar domínios somente ativos #39

Closed sentry-io[bot] closed 8 months ago

sentry-io[bot] commented 8 months ago

Sentry Issue: CHECKSTATUSGOVBR-5

UndefinedFunction: operator does not exist: character varying[] = text[]
LINE 2: ...CT domain,available FROM domains WHERE NOT status = ARRAY['c...
                                                             ^
HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.

  File "main.py", line 31, in <module>
    ping_domains(cursor)
  File "ping.py", line 23, in ping_domains
    dataset = fetch_domains(["domain", "available"])