Skip to content
Snippets Groups Projects
Commit da39a26e authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

add wait time between receiving and updating EBI assigned ID

parent bfbb0aae
No related branches found
No related tags found
3 merge requests!380Pipeline changes,!379Build step added for the master branch,!378k8s release
...@@ -127,6 +127,7 @@ async function completeCitation(data, token) { ...@@ -127,6 +127,7 @@ async function completeCitation(data, token) {
adminUser.id, adminUser.id,
) )
if (!hasId) { if (!hasId) {
await new Promise(resolve => setTimeout(resolve, 1000))
await addCitation(clientId) await addCitation(clientId)
} }
} else { } else {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment