Skip to content

Commit

Permalink
Merge branch 'main' into fix-error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewblaney authored Jan 20, 2025
2 parents 3b6f6b6 + c7ba958 commit c0b255c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @team-plain/cli

## 0.2.1

### Patch Changes

- 0be71aa: Fix non awaited promise

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@team-plain/cli",
"private": false,
"version": "0.2.0",
"version": "0.2.1",
"description": "CLI for interacting with the Plain API",
"main": "./src/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function handleError(message, requestId = "–") {

async function indexUrl(url, labelTypeIds = []) {
const client = getClient();
const res = client.indexDocument({
const res = await client.indexDocument({
url,
labelTypeIds,
});
Expand Down

0 comments on commit c0b255c

Please sign in to comment.