Closed charliewilco closed 1 year ago
with the way API calls were sent on the server components, we needed a way to authorize from the cookie provided. now there's a new function to resolve this issue: authorizeRequest(cookieObject, requestPromise)
authorizeRequest(cookieObject, requestPromise)
const nextCookies = cookies(); const _ = use(authorizeRequest(nextCookies, getFeeds()));
The latest updates on your projects. Learn more about Vercel for Git ↗︎
with the way API calls were sent on the server components, we needed a way to authorize from the cookie provided. now there's a new function to resolve this issue:
authorizeRequest(cookieObject, requestPromise)