mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	label service refactoring + rename of doInTransaction to transactional
This commit is contained in:
		| @@ -122,7 +122,7 @@ async function wrap(func) { | ||||
| let transactionActive = false; | ||||
| let transactionPromise = null; | ||||
|  | ||||
| async function doInTransaction(func) { | ||||
| async function transactional(func) { | ||||
|     if (cls.namespace.get('isInTransaction')) { | ||||
|         return await func(); | ||||
|     } | ||||
| @@ -181,5 +181,5 @@ module.exports = { | ||||
|     getColumn, | ||||
|     execute, | ||||
|     executeScript, | ||||
|     doInTransaction | ||||
|     transactional | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user