Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into rate-limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
unenglishable committed Aug 7, 2024
2 parents 3aa47ab + db0db97 commit c053441
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/epochtalk_server/models/configuration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,9 @@ defmodule EpochtalkServer.Models.Configuration do

## === Private Helper Functions ===

@doc """
Load default values from `:epochtalk_server[:frontend_config]` and inserted
into the database as the default `Configuration`.
Returns map with string keys
"""
@spec load_from_env() :: configuration :: map()
# Load default values from `:epochtalk_server[:frontend_config]` and inserted
# into the database as the default `Configuration`.
# Returns map with string keys
defp load_from_env() do
frontend_config = Application.get_env(:epochtalk_server, :frontend_config)

Expand Down

0 comments on commit c053441

Please sign in to comment.