Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit fc434df

Browse files
magemelloeromano
authored andcommitted
#130 fix header controllers api (#131)
#130 fix header controllers
1 parent 1dedc08 commit fc434df

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Alfresco JS API
66

77
_This project provides a JavaScript client API into the v1 Alfresco REST API_
88

9+
<a name="1.0.0"></a>
10+
# [1.0.0](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.0.0) (xx-xx-2016)
11+
## fix
12+
- [/api/enterprise/script-files/controllers sending wrong accept header #130](https://github.com/Alfresco/alfresco-js-api/pull/130)
13+
914
<a name="0.5.5"></a>
1015
# [0.5.5](https://github.com/Alfresco/alfresco-js-api/releases/tag/0.5.5) (09-12-2016)
1116
## fix

src/alfresco-activiti-rest-api/src/api/ScriptFileApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
};
5757

5858
var authNames = [];
59-
var contentTypes = ['application/json'];
60-
var accepts = ['application/json', 'application/javascript'];
59+
var contentTypes = ['text/javascript'];
60+
var accepts = [];
6161
var returnType = 'String';
6262

6363
return this.apiClient.callApi(

0 commit comments

Comments
 (0)