File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,7 @@ defmodule Algora.Settings do
22 @ moduledoc false
33 use Ecto.Schema
44
5- import Ecto.Query
6-
75 alias Algora.Accounts
8- alias Algora.Accounts.User
9- alias Algora.PSP.ConnectCountries
106 alias Algora.Repo
117
128 @ primary_key { :key , :string , [ ] }
Original file line number Diff line number Diff line change @@ -187,11 +187,15 @@ defmodule AlgoraWeb.Org.JobsLive do
187187 end
188188 else
189189 { :noreply ,
190- redirect ( socket , external: Algora.Github . authorize_url ( % { return_to: "/org/#{ @ current_org . handle } /jobs" } ) ) }
190+ redirect ( socket ,
191+ external: Algora.Github . authorize_url ( % { return_to: "/org/#{ socket . assigns . current_org . handle } /jobs" } )
192+ ) }
191193 end
192194 else
193195 { :noreply ,
194- redirect ( socket , external: Algora.Github . authorize_url ( % { return_to: "/org/#{ @ current_org . handle } /jobs" } ) ) }
196+ redirect ( socket ,
197+ external: Algora.Github . authorize_url ( % { return_to: "/org/#{ socket . assigns . current_org . handle } /jobs" } )
198+ ) }
195199 end
196200 end
197201
You can’t perform that action at this time.
0 commit comments