Skip to content

Commit bc53def

Browse files
committed
fix: npm-app to send authToken in post request
1 parent c7f7d69 commit bc53def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-app/src/cli-handlers/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ async function publishAgentTemplate(
233233
method: 'POST',
234234
headers: {
235235
'Content-Type': 'application/json',
236-
Cookie: `next-auth.session-token=${authToken}`,
237236
},
238237
body: JSON.stringify({
239238
data,
239+
authToken,
240240
...(publisherId && { publisherId }),
241241
}),
242242
})

0 commit comments

Comments
 (0)