projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction...
[akkoma]
/
lib
/
pleroma
/
web
/
plugs
/
set_locale_plug.ex
diff --git
a/lib/pleroma/web/plugs/set_locale_plug.ex
b/lib/pleroma/web/plugs/set_locale_plug.ex
index 9a21d0a9d5c7c399602b8ccce2ffe4c515f854dd..d9d24b93fc36096ad38d357ea7c6cb586e61472d 100644
(file)
--- a/
lib/pleroma/web/plugs/set_locale_plug.ex
+++ b/
lib/pleroma/web/plugs/set_locale_plug.ex
@@
-3,7
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0-only
# NOTE: this module is based on https://github.com/smeevil/set_locale
# SPDX-License-Identifier: AGPL-3.0-only
# NOTE: this module is based on https://github.com/smeevil/set_locale
-defmodule Pleroma.Plugs.SetLocalePlug do
+defmodule Pleroma.
Web.
Plugs.SetLocalePlug do
import Plug.Conn, only: [get_req_header: 2, assign: 3]
def init(_), do: nil
import Plug.Conn, only: [get_req_header: 2, assign: 3]
def init(_), do: nil