fix update note but actually add note

This commit is contained in:
houxg
2017-02-21 15:40:09 +08:00
parent 75582c2167
commit de94602c97

View File

@@ -220,7 +220,7 @@ public class NoteService {
} else {
requestBodyMap.put("NoteId", createPartFromString(modifiedNote.getNoteId()));
requestBodyMap.put("Usn", createPartFromString(String.valueOf(modifiedNote.getUsn())));
call = ApiProvider.getInstance().getNoteApi().add(requestBodyMap, fileBodies);
call = ApiProvider.getInstance().getNoteApi().update(requestBodyMap, fileBodies);
}
}
Note note = RetrofitUtils.excuteWithException(call);