File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function LinkPrompt() {
2020 setError ( "" ) ;
2121 setLoading ( true ) ;
2222 try {
23- await backupMasteryData ( ) ;
23+ await backupMasteryData ( accountId . trim ( ) ) ;
2424 await enableGameSync ( accountId . trim ( ) , platform ) ;
2525 setOpen ( false ) ;
2626 } catch ( e ) {
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ export const useStore = createWithEqualityFn(
688688 ) ;
689689 } ,
690690
691- backupMasteryData : async ( ) => {
691+ backupMasteryData : async ( attemptedGameSyncId ) => {
692692 try {
693693 const { type, id } = get ( ) ;
694694 const docRef = get ( ) . getDocRef ( ) ;
@@ -702,7 +702,8 @@ export const useStore = createWithEqualityFn(
702702 const backupData = {
703703 ...userData ,
704704 userId : id ,
705- backupTimestamp : new Date ( ) . toISOString ( )
705+ backupTimestamp : new Date ( ) . toISOString ( ) ,
706+ attemptedGameSyncId
706707 } ;
707708
708709 const backupCollectionName =
You can’t perform that action at this time.
0 commit comments