mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Fix create review (#1171)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
027d15034a
commit
061df2468e
@ -76,10 +76,6 @@
|
||||
})
|
||||
|
||||
async function createReview () {
|
||||
const state = await client.findOne(task.class.State, { space: doc.space })
|
||||
if (state === undefined) {
|
||||
throw new Error('create application: state not found')
|
||||
}
|
||||
const sequence = await client.findOne(task.class.Sequence, { attachedTo: recruit.class.Review })
|
||||
if (sequence === undefined) {
|
||||
throw new Error('sequence object not found')
|
||||
|
Loading…
Reference in New Issue
Block a user