initial route for ICS retrieval, no actual ICS data yet
This commit is contained in:
parent
873723d776
commit
8fe1bc6322
8 changed files with 44 additions and 41 deletions
lib/shift73k
|
@ -39,6 +39,10 @@ defmodule Shift73k.Accounts do
|
|||
Repo.get_by(User, email: email)
|
||||
end
|
||||
|
||||
def get_user_by_calendar_slug(slug) when is_binary(slug) do
|
||||
Repo.get_by(User, calendar_slug: slug)
|
||||
end
|
||||
|
||||
@doc """
|
||||
Gets a user by email and password.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue