File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -830,10 +830,7 @@ export class ServerClient {
830830 * ```
831831 */
832832 public async invokeWorkflowForExternalUser ( url : string , externalUserId : string , opts : RequestOptions = { } ) : Promise < unknown > {
833- const {
834- body,
835- headers = { } ,
836- } = opts ;
833+ const { headers = { } } = opts ;
837834
838835 if ( ! externalUserId ) {
839836 throw new Error ( "External user ID is required" ) ;
@@ -843,15 +840,13 @@ export class ServerClient {
843840 throw new Error ( "Project public key is required to map the external user ID to the correct project" ) ;
844841 }
845842
846- return this . makeRequest ( "" , {
843+ return this . invokeWorkflow ( url , {
847844 ...opts ,
848- baseURL : url ,
849845 headers : {
850846 ...headers ,
851847 "X-PD-External-User-ID" : externalUserId ,
852848 "X-PD-Project-Public-Key" : this . publicKey ,
853849 } ,
854- body,
855850 } ) ;
856851 }
857852}
You can’t perform that action at this time.
0 commit comments