Skip to content

Commit

Permalink
Merge branch 'dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
storycraft committed Dec 4, 2020
2 parents 0572fac + cb1129a commit eb8eca0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-kakao",
"version": "3.1.3",
"version": "3.1.4",
"description": "Loco protocol compatible library",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/api/web-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export abstract class WebApiClient implements ApiHeaderDecorator {
if (form) {
let formData = this.convertToFormData(form);

reqData.data = formData;
reqData.data = formData.toString();
}

let res = JsonUtil.parseLoseless((await Axios.request(reqData)).data);
Expand Down
2 changes: 1 addition & 1 deletion src/config/client-config-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class DefaultClientConfigProvider implements ClientConfigProvider {
private configuration: ClientConfig;

constructor(config?: Partial<ClientConfig>) {
this.configuration = config ? Object.assign(config, DefaultConfiguration) : DefaultConfiguration;
this.configuration = config ? Object.assign(DefaultConfiguration, config) : DefaultConfiguration;
}

get Configuration() {
Expand Down

0 comments on commit eb8eca0

Please sign in to comment.