Skip to content

Commit

Permalink
docs(models/configuration): change @doc on private method to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
unenglishable committed Aug 5, 2024
1 parent e3629e7 commit 5e2b1bd
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 5e2b1bd

Please sign in to comment.