mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-13 13:45:39 +02:00
set content type header
This commit is contained in:
@ -187,7 +187,8 @@ export class NextcloudClient {
|
||||
const res = await fetch(url, {
|
||||
method: 'POST',
|
||||
headers: Object.assign(this.headers, {
|
||||
'OCS-APIRequest': true
|
||||
'OCS-APIRequest': true,
|
||||
'Content-Type': 'application/json'
|
||||
}),
|
||||
body: JSON.stringify(body)
|
||||
})
|
||||
|
Reference in New Issue
Block a user