Skip to content

Commit

Permalink
docs: fix api name
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain committed Jan 11, 2025
1 parent c5ef9ea commit 89372a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ The main logic of merging items is described [above](#-how). A few points to emp
<summary>JavaScript API</summary>

```typescript
async Zotero.arXivWorkflow.merge(
async Zotero.arXivWorkflow.api.merge(
preprintItem: Zotero.Item,
publishedItem: Zotero.Item,
suppressWarn = false,
Expand Down Expand Up @@ -154,7 +154,7 @@ Therefore, to make Zotero perfer a specific PDF, this plugin
<summary>JavaScript API</summary>

```typescript
async Zotero.arXivWorkflow.preferPDF(
async Zotero.arXivWorkflow.api.preferPDF(
selectedAttachment: Zotero.Item
)
```
Expand Down Expand Up @@ -184,7 +184,7 @@ After that, the preprint item and the newly created journal item will be merged
<summary>JavaScript API</summary>

```typescript
async Zotero.arXivWorkflow.arXivUpdate(
async Zotero.arXivWorkflow.api.arXivUpdate(
preprintItem: Zotero.Item
)
```
Expand All @@ -205,7 +205,7 @@ Say you have an arXiv paper PDF and import it into Zotero. Zotero finds that it
<summary>JavaScript API</summary>

```typescript
async Zotero.arXivWorkflow.updatePDF(
async Zotero.arXivWorkflow.api.updatePDF(
journalItem: Zotero.Item
)
```
Expand Down

0 comments on commit 89372a0

Please sign in to comment.