Skip to content

Commit

Permalink
fixed content type on create
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellourbani committed Jan 26, 2019
1 parent 01b2dc5 commit 7f7f888
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ All notable changes to the "vscode-abap-remote-fs" extension will be documented

Format based on [Keep a Changelog](http://keepachangelog.com/)

## [0.3.4]
## [0.3.5] 2019-01-26

### Fixed

- missing content-type header on create
- better display name

## [0.3.4] 2019-01-23

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "vscode-abap-remote-fs",
"displayName": "vscode_abap_remote_fs",
"displayName": "ABAP remote filesystem",
"description": "Work on your ABAP code straight from the server",
"version": "0.3.4",
"version": "0.3.5",
"publisher": "murbani",
"license": "MIT",
"icon": "images/abapfs_icon.png",
Expand Down
3 changes: 2 additions & 1 deletion src/adt/operations/AdtObjectCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ export class AdtObjectCreator {
.with({ query: request && `corrNr=${request}` })
let body = objType.getCreatePayload(objDetails)
let response = await conn.request(uri, "POST", {
body
body,
headers: { "Content-Type": "application/*" }
})
return response
}
Expand Down

0 comments on commit 7f7f888

Please sign in to comment.