Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: miscellaneous backend fixes #1568

Merged
merged 8 commits into from
Aug 7, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: typos
  • Loading branch information
tech4him1 committed Aug 6, 2018
commit d0a9877983ba564fc4cc30323718ade39a5df9db
4 changes: 2 additions & 2 deletions packages/netlify-cms-backend-bitbucket/src/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class API {
const formData = new FormData();
// Third param is filename header, in case path is `message`, `branch`, etc.
formData.append(item.path, contentBase64, basename(item.path));
body.append('branch', branch);
formData.append('branch', branch);
if (commitMessage) {
formData.append("message", commitMessage);
}
Expand Down Expand Up @@ -153,7 +153,7 @@ export default class API {
}
if (this.commitAuthor) {
const { name, email } = this.commitAuthor;
formData.append("author", `${name} <${email}>`);
body.append("author", `${name} <${email}>`);
}
return flow([
unsentRequest.withMethod("POST"),
Expand Down