Skip to content

Commit c32f39d

Browse files
committed
DIAL-41-Implement-button-template-urls-for-server
1 parent 4e3bb62 commit c32f39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/channels/messenger.channel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class MessengerChannel extends BaseChannel {
156156
try {
157157
await axios({
158158
method: 'POST',
159-
url: `https://graph.facebook.com/v17.0/me/messages?access_token=${this.pageToken}`,
159+
url: this.messengerPostURL + this.pageToken,
160160
data: {
161161
recipient: {
162162
id: userId,
@@ -182,7 +182,7 @@ export class MessengerChannel extends BaseChannel {
182182
try {
183183
await axios({
184184
method: 'POST',
185-
url: `https://graph.facebook.com/v17.0/me/messages?access_token=${this.pageToken}`,
185+
url: this.messengerPostURL + this.pageToken,
186186
data: {
187187
recipient: {
188188
id: userId,

0 commit comments

Comments
 (0)