Commit 5cbfd45ba2d12ea81121cf5006e44506921f3b3f

Thomas de Grivel 2022-02-04T19:27:12

fix warnings

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit/organisation_manager.ex b/lib/kmxgit/organisation_manager.ex
index 1c38550..3de5b61 100644
--- a/lib/kmxgit/organisation_manager.ex
+++ b/lib/kmxgit/organisation_manager.ex
@@ -9,7 +9,7 @@ defmodule Kmxgit.OrganisationManager do
   alias Kmxgit.SlugManager.Slug
   alias Kmxgit.UserManager
 
-  def list_all_organisations(params \\ %IndexParams{}) do
+  def list_all_organisations() do
     from(org in Organisation)
     |> join(:inner, [org], s in Slug, on: s.organisation_id == org.id)
     |> order_by([org, s], [asc_nulls_last: fragment("lower(?)", s.slug)])