fixed filelist sync on initial login and after upload
This commit is contained in:
parent
e58ebc835c
commit
09a4d7b9ee
2 changed files with 3 additions and 4 deletions
|
@ -13,6 +13,7 @@ module.exports = function(app = choo()) {
|
|||
app.route('/oauth', async function(state, emit) {
|
||||
try {
|
||||
await state.user.finishLogin(state.query.code, state.query.state);
|
||||
await state.user.syncFileList();
|
||||
emit('replaceState', '/');
|
||||
} catch (e) {
|
||||
emit('replaceState', '/error');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue