File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ export class NoteScreenConnection {
894894 await saveproms // wait before next iteration, do not use up to much mem
895895
896896 cursor = scanret [ 0 ]
897- } while ( cursor !== 0 )
897+ } while ( cursor !== '0' )
898898 } catch ( error ) {
899899 console . log ( 'Error saveChangedLecture' , error )
900900 }
@@ -1096,7 +1096,7 @@ export class NoteScreenConnection {
10961096 lastaccessesp . push ( ...myprom2 )
10971097
10981098 cursor2 = scanret2 [ 0 ]
1099- } while ( cursor2 !== 0 )
1099+ } while ( cursor2 !== '0' )
11001100
11011101 let laarr = await Promise . all ( lastaccessesp )
11021102 laarr = laarr . flat ( )
@@ -1115,14 +1115,14 @@ export class NoteScreenConnection {
11151115 console . log ( 'purge element' , pscanret )
11161116 pcursor = pscanret [ 0 ]
11171117 retprom . push ( ...pscanret [ 1 ] . map ( ( el2 ) => unlink ( el2 ) ) )
1118- } while ( pcursor !== 0 )
1118+ } while ( pcursor !== '0' )
11191119 }
11201120 return Promise . all ( retprom )
11211121 } )
11221122 )
11231123 allprom . push ( myprom )
11241124 cursor = scanret [ 0 ]
1125- } while ( cursor !== 0 )
1125+ } while ( cursor !== '0' )
11261126 await Promise . all ( allprom ) // we are finished giving orders, wait for return
11271127 return
11281128 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments