remove sleep while restoring mastodon test data (#338)

This commit is contained in:
Nolan Lawson 2018-05-26 16:18:23 -07:00 committed by GitHub
parent 611282d1ad
commit 9235726a59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,6 @@ export async function restoreMastodonData () {
let internalIdsToIds = {}
for (let action of actions) {
console.log(JSON.stringify(action))
await new Promise(resolve => setTimeout(resolve, 200)) // sleep because otherwise order may not be preserved
let accessToken = users[action.user].accessToken
if (action.post) {