Skip to content

Commit

Permalink
0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLfulus committed May 13, 2024
1 parent c6be2c7 commit 8480427
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @indirectus/cli

## 0.4.1

### Patch Changes

- path fix

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indirectus/cli",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"description": "Directus Tools CLI.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/types/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function fetchSchema(
}

const url = new URL(directus.url);
url.pathname += "/schema/snapshot";
url.pathname = (url.pathname?.replace(/\/$/, "") ?? "") + "/schema/snapshot";
url.searchParams.set("export", "json");
url.searchParams.set("access_token", directus.token);

Expand Down
8 changes: 8 additions & 0 deletions packages/indirectus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# indirectus

## 0.4.1

### Patch Changes

- path fix
- Updated dependencies
- @indirectus/cli@0.4.1

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/indirectus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "indirectus",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"description": "Directus Tools CLI.",
"keywords": [
Expand Down

0 comments on commit 8480427

Please sign in to comment.