chore: cleanup

This commit is contained in:
Carlos Valente
2024-04-21 23:11:58 +02:00
committed by Carlos Valente
parent 8f249b9d51
commit 5cf5b2fae3
4 changed files with 4 additions and 16 deletions
@@ -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') {