We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353ea10 commit 38772b8Copy full SHA for 38772b8
jsr.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@mycore/js-common",
3
- "version": "0.0.2",
+ "version": "0.0.3",
4
"exports": {
5
"./i18n": "./src/i18n/index.ts",
6
"./access-key": "./src/access-key/index.ts",
src/orcid/orcid-work.service.ts
@@ -78,8 +78,10 @@ export class OrcidWorkService {
78
const response = await fetch(
79
this.getUrl(`member/${orcid}/works/object/${objectId}`),
80
81
- ...this.getAuthHeaders(),
82
method: 'POST',
+ headers: {
83
+ ...this.getAuthHeaders(),
84
+ },
85
}
86
);
87
ensureOk(response);
0 commit comments