update to use org name to create task
parent
ffc88da46a
commit
86147c2808
|
@ -384,7 +384,7 @@ export const saveNewScript = (
|
||||||
org = orgs[0]
|
org = orgs[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
await client.tasks.create(getDeep<string>(org, 'id', ''), scriptWithOptions)
|
await client.tasks.create(org.name, scriptWithOptions)
|
||||||
|
|
||||||
dispatch(setNewScript(''))
|
dispatch(setNewScript(''))
|
||||||
dispatch(clearTask())
|
dispatch(clearTask())
|
||||||
|
|
Loading…
Reference in New Issue