mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-28 11:46:02 +08:00
Fixes Telnyx authentication (#598)
This commit is contained in:
parent
53549fb73d
commit
dd4a8528ca
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export default class TelnyxTextProvider extends TextProvider {
|
|||
const response = await fetch('https://api.telnyx.com/v2/messages', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Authorization: `Basic ${this.api_key}`,
|
||||
Authorization: `Bearer ${this.api_key}`,
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'parcelvoy/v1 (+https://github.com/parcelvoy/platform)',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue