Skip to content

Commit

Permalink
fix: check app name format (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichoemr authored Mar 3, 2022
1 parent cbe2e8c commit bc0da34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/lenra_web/lib/lenra_web/channels/app_channel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ defmodule LenraWeb.AppChannel do

Logger.debug("Joining channel for app : #{app_name}")

with {:ok, app} <-
with {:ok, _uuid} <- Ecto.UUID.cast(app_name),
{:ok, app} <-
LenraApplicationServices.fetch_by(
service_name: app_name,
# This restrict to "owner" app only
Expand Down

0 comments on commit bc0da34

Please sign in to comment.