mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-14 14:10:56 +00:00
fix update note but actually add note
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user