fix issues
This commit is contained in:
parent
74763d53f3
commit
cb7b42e761
|
|
@ -57,7 +57,6 @@
|
|||
}
|
||||
|
||||
function uploadMusicNotations(formData) {
|
||||
console.log("formData=%o", formData);
|
||||
return $.ajax({
|
||||
type: "POST",
|
||||
processData: false,
|
||||
|
|
@ -69,17 +68,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
function downloadMusicNotation(notationId) {
|
||||
return $.ajax({
|
||||
type: "GET",
|
||||
processData: false,
|
||||
contentType: false,
|
||||
dataType: "json",
|
||||
cache: false,
|
||||
url: "/api/music_notations/" + notationId
|
||||
});
|
||||
}
|
||||
|
||||
function legacyJoinSession(options) {
|
||||
var sessionId = options["session_id"];
|
||||
delete options["session_id"];
|
||||
|
|
@ -1207,7 +1195,6 @@
|
|||
this.legacyCreateSession = legacyCreateSession;
|
||||
this.createScheduledSession = createScheduledSession;
|
||||
this.uploadMusicNotations = uploadMusicNotations;
|
||||
this.downloadMusicNotation = downloadMusicNotation;
|
||||
this.legacyJoinSession = legacyJoinSession;
|
||||
this.joinSession = joinSession;
|
||||
this.cancelSession = cancelSession;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'aws-sdk'
|
||||
|
||||
class ApiMusicNotationsController < ApiController
|
||||
# before_filter :api_signed_in_user
|
||||
before_filter :api_signed_in_user
|
||||
|
||||
respond_to :json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue