Skip to content

Commit

Permalink
hotfix: compile order
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Jan 18, 2025
1 parent ce4322c commit 16474d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/pescarte_web/auth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ defmodule PescarteWeb.Auth do
Módulo responsável por controlar tanto autenticação quanto
autorização das "dead views" e live views, além de autenticação via API.
"""

# apenas um hotfix, pra forçar esse módulo
# ser compilado antes e portanto o bytecode vai existir
# quando a macro abaixo for executada
# isso deve ser resolvido na próxima release de `supabase_gotrue`
require Pescarte.Supabase

use Supabase.GoTrue.Plug,
client: Pescarte.Supabase,
endpoint: PescarteWeb.Endpoint,
Expand Down

0 comments on commit 16474d4

Please sign in to comment.