Skip to content

Commit

Permalink
Stop sending X-Xata-Files header on test database creation (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries authored Sep 24, 2024
1 parent 547c769 commit 21e8f19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ export async function setUpTestEnvironment(

const { databaseName: database } = await api.databases.createDatabase({
pathParams: { workspaceId: workspace, dbName: `sdk-integration-test-${prefix}-${id}` },
body: { region },
headers: { 'X-Xata-Files': 'true' }
body: { region }
});

const workspaceUrl = getHostUrl(host, 'workspaces').replace('{workspaceId}', workspace).replace('{region}', region);
Expand Down

0 comments on commit 21e8f19

Please sign in to comment.