Strip extraneous properties from task objects
This commit is contained in:
1 parent
ea956fbc9c
commit
4b0d1786dd
2 files changed
+8
-5
No files matched your search
+1
-1
@@ -98,7 +98,7 @@ export function commit(
|
||||
_tasks: QueueTask[]
|
||||
) => void
|
||||
): Promise<void> {
|
||||
const devices: { [deviceId: string]: any[] } = {};
|
||||
const devices: { [deviceId: string]: QueueTask[] } = {};
|
||||
|
||||
if (!canQueue(tasks))
|
||||
return Promise.reject(new Error("Too many tasks in queue"));
|
||||
|
||||
Reference in new issue
Block a user