Skip to content

Commit

Permalink
fix: specify charset utf-8 (#129)
Browse files Browse the repository at this point in the history
Co-authored-by: sjvans <30337871+sjvans@users.noreply.github.com>
  • Loading branch information
johannes-vogel and sjvans authored Nov 25, 2024
1 parent 9bbb1b1 commit 233405c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

- Erroneous modification log for non-updated key properties
- Error during non-modifying queries on database level
- Specify charset UTF-8 for requests to SAP Audit Log Service

## Version 0.8.1 - 2024-09-13

Expand Down
2 changes: 1 addition & 1 deletion srv/log2restv2.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = class AuditLog2RESTv2 extends AuditLogService {
}

async _send(data, path) {
const headers = { 'content-type': 'application/json' }
const headers = { 'content-type': 'application/json;charset=utf-8' }
if (this._vcap) {
headers.XS_AUDIT_ORG = this._vcap.organization_name
headers.XS_AUDIT_SPACE = this._vcap.space_name
Expand Down

0 comments on commit 233405c

Please sign in to comment.