neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
real ups url etc
0140de6 · gmorell · 2024-09-24 21:45
Files changed
modified
apps/room_sanctum/config/runtime.exs
+4
−0
@@ -84,3 +84,7 @@ if config_env() == :prod do
| 84 | 84 | # |
| 85 | 85 | # See https://hexdocs.pm/swoosh/Swoosh.html#module-installation for details. |
| 86 | 86 | end |
| 87 | + | |
| 88 | +config :room_sanctum, | |
| 89 | + env: config_env(), | |
| 90 | + host: System.get_env("PHX_HOST", "localhost") |
modified
apps/room_sanctum/lib/room_sanctum/queues/mail.ex
+2
−3
@@ -104,9 +104,8 @@ defmodule RoomSanctum.Queues.Mail do
| 104 | 104 | type = "standard" |
| 105 | 105 | version = "v1" |
| 106 | 106 | |
| 107 | − # url = "https://wwwcie.ups.com/api/track/" + version + "/subscription/" + type + "/package" | |
| 108 | − url = | |
| 109 | − "http://e6166b4a-082f-487f-81b8-125e1b55cf27:cf098949-a9b3-499e-9efa-784336fc261f@localhost:4002/api/data/cef8601a-229a-4d72-b16d-a52c64638aa0" | |
| 107 | + url = "https://wwwcie.ups.com/api/track/" + version + "/subscription/" + type + "/package" | |
| 108 | + # url = "http://e6166b4a-082f-487f-81b8-125e1b55cf27:cf098949-a9b3-499e-9efa-784336fc261f@localhost:4002/api/data/cef8601a-229a-4d72-b16d-a52c64638aa0" | |
| 110 | 109 | |
| 111 | 110 | payload = %{ |
| 112 | 111 | "locale" => "en_US", |
Parents: 90401d0