File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ impl WorkerApiClient {
143143 chain_task_id : & str ,
144144 exit_cause : & ExitMessage ,
145145 ) -> Result < ( ) , ReplicateStatusCause > {
146- let url = format ! ( "{}/compute/post/{chain_task_id}/exit-causes " , self . base_url) ;
146+ let url = format ! ( "{}/compute/post/{chain_task_id}/exit" , self . base_url) ;
147147 match self
148148 . client
149149 . post ( & url)
@@ -325,7 +325,7 @@ mod tests {
325325 } ) ;
326326
327327 Mock :: given ( method ( "POST" ) )
328- . and ( path ( format ! ( "/compute/post/{CHAIN_TASK_ID}/exit-causes " ) ) )
328+ . and ( path ( format ! ( "/compute/post/{CHAIN_TASK_ID}/exit" ) ) )
329329 . and ( header ( "Authorization" , CHALLENGE ) )
330330 . and ( body_json ( & expected_body) )
331331 . respond_with ( ResponseTemplate :: new ( 200 ) )
@@ -360,7 +360,7 @@ mod tests {
360360 let server_url = mock_server. uri ( ) ;
361361
362362 Mock :: given ( method ( "POST" ) )
363- . and ( path ( format ! ( "/compute/post/{CHAIN_TASK_ID}/exit-causes " ) ) )
363+ . and ( path ( format ! ( "/compute/post/{CHAIN_TASK_ID}/exit" ) ) )
364364 . respond_with ( ResponseTemplate :: new ( 404 ) )
365365 . expect ( 1 )
366366 . mount ( & mock_server)
You can’t perform that action at this time.
0 commit comments