Update app slug validation message

This commit is contained in:
Jonatan Kłosko 2024-11-28 21:58:43 +08:00
parent 2a4f298c32
commit 712c7d6cc1

View file

@ -92,7 +92,7 @@ defmodule Livebook.Notebook.AppSettings do
:output_type
])
|> validate_format(:slug, ~r/^[a-z0-9-]+$/,
message: "should only contain alphanumeric characters and dashes"
message: "should only contain lowercase alphanumeric characters and dashes"
)
|> cast_access_attrs(attrs)
|> cast_mode_specific_attrs(attrs)