private reminders: fix db query
This commit is contained in:
		
							parent
							
								
									733c690ec7
								
							
						
					
					
						commit
						adf4e57405
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -59,7 +59,7 @@ function getLastRun(id) {
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      (err, row) => {
 | 
					      (err, row) => {
 | 
				
			||||||
        if (err == null) {
 | 
					        if (err == null) {
 | 
				
			||||||
          resolve(row?.value);
 | 
					          resolve(row?.last_run);
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
          reject(err);
 | 
					          reject(err);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue