Skip to content

Commit

Permalink
@W-17366392: Fix Omnistudio issues for the sf command format (#3855)
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmi2506 authored Dec 11, 2024
1 parent 5192132 commit 865ad49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cumulusci/tasks/vlocity/vlocity.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
LWC_RSS_NAME = "OmniStudioLightning"
OMNI_NAMESPACE = "omnistudio"
VBT_SF_ALIAS = "cci-vbt-target"
SF_TOKEN_ENV = "SFDX_ACCESS_TOKEN"
SF_TOKEN_ENV = "SF_ACCESS_TOKEN"
VBT_TOKEN_ENV = "OMNIOUT_TOKEN"


Expand Down Expand Up @@ -106,7 +106,9 @@ def _add_token_to_sfdx(self, access_token: str, instance_url: str) -> str:
# TODO: Use the sf v2 form of this command instead (when we migrate)
token_store_cmd = [
"sf",
"org login access-token",
"org",
"login",
"access-token",
"--no-prompt",
"--alias",
f"{VBT_SF_ALIAS}",
Expand Down

0 comments on commit 865ad49

Please sign in to comment.