Last active
May 16, 2019 21:02
-
-
Save chasers/452b86318f1f5203fe623b35a580b8bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def event(conn, params) do | |
user_token = params["authentications"]["account"]["token"]["token"] | |
response = | |
build_response(conn, user_token) | |
|> Jason.encode!() | |
conn | |
|> put_resp_content_type("application/json") | |
|> send_resp(200, response) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment