(field, timestamp)
| 843 | ee.rpc_convert.operationToTask = function(result) { |
| 844 | const internalTask = {}; |
| 845 | const assignTimestamp = (field, timestamp) => { |
| 846 | if (timestamp != null) { |
| 847 | internalTask[field] = Date.parse(timestamp); |
| 848 | } |
| 849 | }; |
| 850 | const convertState = (state) => { |
| 851 | switch (state) { |
| 852 | case 'PENDING': return 'READY'; |