Skip to content
Open
Changes from all commits
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
6 changes: 3 additions & 3 deletions js/markdown-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ var markdownEditor = {
contentType: "application/octet-stream",
data: bodyContent,
processData: false,
headers: { Authorization: "Bearer" + editor.accessToken },
headers: { Authorization: "Bearer " + editor.accessToken },
success: function(data, status, xhr) {
if (data && data.name && data.parentReference) {
editor.lastSelectedFile = data;
Expand Down Expand Up @@ -228,7 +228,7 @@ var markdownEditor = {
method: "PATCH",
contentType: "application/json; charset=UTF-8",
data: JSON.stringify(patchData),
headers: { Authorization: "Bearer" + editor.accessToken },
headers: { Authorization: "Bearer " + editor.accessToken },
success: function(data, status, xhr) {
if (data && data.name && data.parentReference) {
editor.showSuccessMessage("File was updated successfully.");
Expand Down Expand Up @@ -265,7 +265,7 @@ var markdownEditor = {
method: "POST",
contentType: "application/json; charset=UTF-8",
data: JSON.stringify(requestBody),
headers: { Authorization: "Bearer" + editor.accessToken },
headers: { Authorization: "Bearer " + editor.accessToken },
success: function(data, status, xhr) {
if (data && data.link && data.link.webUrl) {
window.prompt("View-only sharing link", data.link.webUrl);
Expand Down