We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ed4802 commit 7f43508Copy full SHA for 7f43508
1 file changed
docs/useCases.md
@@ -1718,20 +1718,15 @@ Returns the File citation in the requested citation export format.
1718
##### Example call:
1719
1720
```typescript
1721
-import {
1722
- FileCitationFormat,
1723
- getFileCitationByFormat
1724
-} from '@iqss/dataverse-client-javascript'
+import { FileCitationFormat, getFileCitationByFormat } from '@iqss/dataverse-client-javascript'
1725
1726
/* ... */
1727
1728
const fileId = 3
1729
1730
-getFileCitationByFormat
1731
- .execute(fileId, FileCitationFormat.BIBTEX)
1732
- .then((citationText: string) => {
1733
- /* ... */
1734
- })
+getFileCitationByFormat.execute(fileId, FileCitationFormat.BIBTEX).then((citationText: string) => {
+ /* ... */
+})
1735
1736
1737
```
0 commit comments