fix: add Authorization header to POST /api/feed request
This commit is contained in:
parent
d3d1980bfc
commit
dcb0274de7
|
|
@ -993,7 +993,7 @@ async function loadFeed() {
|
|||
res = await fetch(FEED_API, {
|
||||
method: 'POST',
|
||||
cache: 'no-store',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${apiKey}` },
|
||||
body: JSON.stringify({ customFeeds }),
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue