Skip to content

Commit 3326214

Browse files
committed
fix Auth headers
1 parent eb401ee commit 3326214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/pages/setting/environments/services/environments.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export async function getEnvironmentWorkspaces(
7979

8080
// Set up headers with the API key
8181
const headers = {
82-
"X-API-Key": apiKey,
82+
Authorization: `Bearer ${apiKey}`
8383
};
8484

8585
// Make the API request to get user data which includes workspaces

0 commit comments

Comments
 (0)