mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-03 11:06:29 +00:00
fix: inform worker good route
This commit is contained in:
@@ -136,13 +136,13 @@ informWorker method id =
|
||||
do
|
||||
url <- envAsString "WORKER_URL" "worker/"
|
||||
request <- parseRequest url
|
||||
print request
|
||||
response <- httpBS
|
||||
$ setRequestMethod method
|
||||
$ addRequestHeader "Accept" "application/json"
|
||||
$ setRequestPath (encodeUtf8 (pack $ "/worker/" <> show id))
|
||||
$ setRequestPath (encodeUtf8 (pack $ "/workflow/" <> show id))
|
||||
request
|
||||
print response
|
||||
return ()
|
||||
<|> return ()
|
||||
|
||||
|
||||
getPipelineHandler :: AuthRes -> PipelineId -> AppM GetPipelineResponse
|
||||
|
||||
Reference in New Issue
Block a user