File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class App extends AbstractService
99 public const V2_APP_LIST_URL = "/v2/app/ " ;
1010 public const V2_APP_DETAIL_URL = "/v2/app/%s/ " ;
1111 public const V2_APP_CANCEL_URL = "/v2/app/%s/cancel/ " ;
12- public const V2_APP_BRANCHER_URL = "/v2/app/%s/brancher / " ;
12+ public const V2_BRANCHER_APP_URL = "/v2/brancher/ app/%s/ " ;
1313 public const V1_APP_FLOWS_URL = "/logbook/v1/logbooks/%s/flows/ " ;
1414
1515 /**
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class BrancherApp extends AbstractService
2020 */
2121 public function create (string $ app , ?array $ data = null ): string
2222 {
23- $ url = sprintf (App::V2_APP_BRANCHER_URL , $ app );
23+ $ url = sprintf (App::V2_BRANCHER_APP_URL , $ app );
2424
2525 $ response = $ this ->client ->api ->post ($ url , [], $ data ? json_encode ($ data ) : null );
2626
You can’t perform that action at this time.
0 commit comments