You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.warn('Get current user failed. It seems this runtime use an async storage system, please new AV.File in the callback of AV.User.currentAsync().');
345
+
letowner;
346
+
347
+
if(data&&data.owner){
348
+
owner=data.owner;
349
+
}else{
350
+
try{
351
+
owner=AV.User.current();
352
+
}catch(e){
353
+
console.warn('Get current user failed. It seems this runtime use an async storage system, please new AV.File in the callback of AV.User.currentAsync().');
354
+
}
351
355
}
356
+
352
357
this._metaData={
353
-
owner: (currentUser ? currentUser.id : 'unknown')
358
+
owner: (owner ? owner.id : 'unknown')
354
359
};
355
360
356
361
// Guess the content type from the extension if we need to.
0 commit comments