fix(reactions) Remove auth header if there's no JWT
This commit is contained in:
parent
c2e55339d1
commit
f27cb46f3c
|
@ -60,7 +60,7 @@ export async function sendReactionsWebhook(state: Object, reactions: Array<?stri
|
|||
const localParticipant = getLocalParticipant(state);
|
||||
|
||||
const headers = {
|
||||
'Authorization': `Bearer ${jwt}`,
|
||||
...jwt ? { 'Authorization': `Bearer ${jwt}` } : {},
|
||||
'Content-Type': 'application/json'
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue