fix(users/Profpatsch/whacd-resolver): fix redacted TLD
they switched from .ch to .sh Change-Id: I889634ec257b7956b9d2b22a9ad6fc0c889f43c2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12853 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
84e9c7f104
commit
22c46c8009
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ redactedGetTorrentFile dat = inSpan' "Redacted Get Torrent File" $ \span -> do
|
|||
httpTorrent span req
|
||||
|
||||
mkRedactedTorrentLink :: Arg "torrentGroupId" Int -> Text
|
||||
mkRedactedTorrentLink torrentId = [fmt|https://redacted.ch/torrents.php?id={torrentId.unArg}|]
|
||||
mkRedactedTorrentLink torrentId = [fmt|https://redacted.sh/torrents.php?id={torrentId.unArg}|]
|
||||
|
||||
exampleSearch :: (MonadThrow m, MonadLogger m, MonadPostgres m, MonadOtel m, MonadRedacted m) => m (Transaction m ())
|
||||
exampleSearch = do
|
||||
|
@ -495,7 +495,7 @@ mkRedactedApiRequest ::
|
|||
mkRedactedApiRequest dat = do
|
||||
authKey <- getRedactedApiKey
|
||||
pure $
|
||||
[fmt|https://redacted.ch/ajax.php|]
|
||||
[fmt|https://redacted.sh/ajax.php|]
|
||||
& Http.setRequestMethod "GET"
|
||||
& Http.setQueryString (("action", Just dat.action) : dat.actionArgs)
|
||||
& Http.setRequestHeader "Authorization" [authKey]
|
||||
|
|
Loading…
Reference in a new issue