File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
app/src/cli/commands/app/function Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ export default class FunctionRun extends AppUnlinkedCommand {
4040 const { flags} = await this . parse ( FunctionRun )
4141
4242 // Track which client invoked this command
43- const invokedBy = process . env . SHOPIFY_FLAG_INVOKED_BY
43+ const invokedBy = process . env . INVOKED_BY
4444 if ( invokedBy ) {
4545 await addPublicMetadata ( ( ) => ( {
46- cmd_app_function_run_invoked_by : invokedBy ,
46+ cmd_all_invoked_by : invokedBy ,
4747 } ) )
4848 }
4949
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export interface Schemas {
5757 cmd_all_exit ?: Optional < string >
5858 cmd_all_force ?: Optional < boolean >
5959 cmd_all_last_graphql_request_id ?: Optional < string >
60+ cmd_all_invoked_by ?: Optional < string >
6061
6162 cmd_all_timing_network_ms ?: Optional < number >
6263 cmd_all_timing_prompts_ms ?: Optional < number >
@@ -88,9 +89,6 @@ export interface Schemas {
8889 cmd_app_warning_api_key_deprecation_displayed ?: Optional < boolean >
8990 cmd_app_deployment_mode ?: Optional < string >
9091
91- // Function related commands
92- cmd_app_function_run_invoked_by ?: Optional < string >
93-
9492 // Dev related commands
9593 cmd_dev_tunnel_type ?: Optional < string >
9694 cmd_dev_tunnel_custom_hash ?: Optional < string >
You can’t perform that action at this time.
0 commit comments