File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -404,12 +404,12 @@ export default class BackgroundJobsPlugin extends AdminForthPlugin {
404404 return JSON . parse ( state ) ;
405405 }
406406
407- public async updateJobFieldsAtomicly ( jobId : string , updateFunction : ( ) => Promise < void > ) {
407+ public async updateJobFieldsAtomically ( jobId : string , updateFunction : ( ) => Promise < void > ) {
408408 if ( ! jobId ) {
409- throw new Error ( 'updateJobFieldsAtomicly : jobId is required' ) ;
409+ throw new Error ( 'updateJobFieldsAtomically : jobId is required' ) ;
410410 }
411411 if ( typeof updateFunction !== 'function' ) {
412- throw new Error ( 'updateJobFieldsAtomicly : updateFunction must be a function' ) ;
412+ throw new Error ( 'updateJobFieldsAtomically : updateFunction must be a function' ) ;
413413 }
414414
415415 // Ensure updates are atomic per jobId.
You can’t perform that action at this time.
0 commit comments