mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-09 01:13:55 +00:00
chore: cleanup
This commit is contained in:
committed by
Carlos Valente
parent
8f249b9d51
commit
5cf5b2fae3
@@ -56,7 +56,6 @@ const actionHandlers: Record<string, ActionHandler> = {
|
||||
});
|
||||
|
||||
updateEvent(patchEvent);
|
||||
Object.assign(patchEvent);
|
||||
|
||||
return { payload: 'success' };
|
||||
},
|
||||
@@ -75,7 +74,7 @@ const actionHandlers: Record<string, ActionHandler> = {
|
||||
/* Playback */
|
||||
start: (payload) => {
|
||||
if (payload === undefined) {
|
||||
return successPayloadOrError(runtimeService.start(), 'Uable to start');
|
||||
return successPayloadOrError(runtimeService.start(), 'Unable to start');
|
||||
}
|
||||
|
||||
if (payload && typeof payload === 'object') {
|
||||
|
||||
Reference in New Issue
Block a user