feat: add support for using branches in CMS

This commit is contained in:
Michael Zetterberg
2024-11-28 11:56:57 +01:00
parent 4f871a3220
commit dce3283c40
3 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ export async function request<T>(
try {
client.setHeaders({
access_token: env.CMS_ACCESS_TOKEN,
branch: env.CMS_BRANCH,
"Content-Type": "application/json",
...params?.headers,
})