Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnyx - Ability to retrieve a message #11710

Merged
merged 14 commits into from
May 6, 2024
Prev Previous commit
Next Next commit
Updated constants file
  • Loading branch information
mjabali committed Apr 26, 2024
commit 1062ac8cade9e956af5f8465ac7c6b5e7cd39bcb
8 changes: 2 additions & 6 deletions components/telnyx/telnyx.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
description: "The Id of the messaging profile to use for sending the message.",
async options({ page }) {
const params = {
"page[number]": page || 1,
"page[number]": page + 1,
};
const profiles = await this.getMessagingProfiles({
params,
Expand All @@ -27,7 +27,7 @@ export default {
description: "The phone number to send the message from.",
async options({ page }) {
const params = {
"page[number]": page || 1,
"page[number]": page + 1,
};
const phoneNumbers = await this.getPhoneNumbers({
params,
Expand All @@ -40,10 +40,6 @@ export default {
},
},
methods: {
// this.$auth contains connected account data
authKeys() {
console.log(Object.keys(this.$auth));
},
getHeaders() {
return {
"Content-Type": "application/json",
Expand Down
Loading