create gists

This commit is contained in:
zack 2024-10-26 15:01:33 -04:00
parent 79a17290d5
commit 43a8412f06
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
90 changed files with 1777 additions and 2107 deletions

View file

@ -1,6 +1,5 @@
defmodule ZoeyscomputerWeb.DiscordHandler do
require Logger
alias ElixirSense.Log
alias ExAws.S3
import Plug.Conn
import Mogrify
@ -15,7 +14,7 @@ defmodule ZoeyscomputerWeb.DiscordHandler do
def call(%{path_info: ["images", _id | _]} = conn, _opts) do
user_agent = List.first(get_req_header(conn, "user-agent"))
request_id = Logger.metadata()[:request_id]
Logger.metadata()[:request_id]
Logger.info("Processing image request:\n user_agent: #{user_agent}")