Skip to content

Commit

Permalink
feat: update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Nov 20, 2023
1 parent 8436eb9 commit 2d3fe85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HubSpot/HubSpot_Add_LinkedIn_message_to_contact.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
},
"outputs": [],
"source": [
"api_key = naas.secret.get(\"HS_ACCESS_TOKEN\") or \"YOUR_HS_ACCESS_TOKEN\"\n",
"hs_access_token = naas.secret.get(\"HS_ACCESS_TOKEN\") or \"YOUR_HS_ACCESS_TOKEN\"\n",
"communication_body = \"My First LinkedIn message\"\n",
"contact_id = \"308551\"\n",
"communication_datetime = None or datetime(2023, 8, 17, 16, 5, 5)"
Expand Down Expand Up @@ -235,7 +235,7 @@
" print(res.text)\n",
" return data\n",
"\n",
"data = create_communication(api_key, communication_body, contact_id, communication_datetime, \"LINKEDIN_MESSAGE\")\n",
"data = create_communication(hs_access_token, communication_body, contact_id, communication_datetime, \"LINKEDIN_MESSAGE\")\n",
"data"
]
},
Expand Down Expand Up @@ -325,4 +325,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit 2d3fe85

Please sign in to comment.