Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Commit 2d8fe9b

Browse files
committed
fixes #11
1 parent ac91859 commit 2d8fe9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ angular.module('angularBase').service('Base', ['$rootScope', '$http', '$q', '$an
169169
method: method,
170170
url: url,
171171
data: data,
172-
header: (header) ? header : "{Content-Type: application/json}",
172+
headers: (header) ? header : "{Content-Type: application/json}",
173173
cache: this.config.cache
174174
}).success(function (data, status, headers) {
175175
var results = {};

dist/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ angular.module('angularBase').service('Base', ['$rootScope', '$http', '$q', '$an
169169
method: method,
170170
url: url,
171171
data: data,
172-
header: (header) ? header : "{Content-Type: application/json}",
172+
headers: (header) ? header : "{Content-Type: application/json}",
173173
cache: this.config.cache
174174
}).success(function (data, status, headers) {
175175
var results = {};

dist/base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)