try a delay
This commit is contained in:
parent
8434b5a255
commit
eaefbaa07c
|
@ -45,6 +45,7 @@ export async function restoreMastodonData () {
|
|||
console.log('Restoring mastodon data...')
|
||||
let internalIdsToIds = {}
|
||||
for (let action of actions) {
|
||||
await new Promise(resolve => setTimeout(resolve, 1000)) // delay so that notifications have proper order
|
||||
console.log(JSON.stringify(action))
|
||||
let accessToken = users[action.user].accessToken
|
||||
|
||||
|
|
Loading…
Reference in New Issue