Commit 85098a82e51fbe0013bfcbfc63c4930161a5d695

Thomas de Grivel 2022-01-16T09:55:56

fix warnings

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/lib/kmxgit_web/controllers/admin/organisation_controller.ex b/lib/kmxgit_web/controllers/admin/organisation_controller.ex
index ac3da0b..8cda078 100644
--- a/lib/kmxgit_web/controllers/admin/organisation_controller.ex
+++ b/lib/kmxgit_web/controllers/admin/organisation_controller.ex
@@ -4,7 +4,6 @@ defmodule KmxgitWeb.Admin.OrganisationController do
   alias Kmxgit.GitManager
   alias Kmxgit.OrganisationManager
   alias Kmxgit.Repo
-  alias Kmxgit.SlugManager
   alias KmxgitWeb.ErrorView
 
   def index(conn, _params) do
@@ -24,7 +23,6 @@ defmodule KmxgitWeb.Admin.OrganisationController do
   end
 
   def create(conn, params) do
-    current_user = conn.assigns.current_user
     org_params = params["organisation"]
     case OrganisationManager.admin_create_organisation(org_params) do
       {:ok, org} ->