Skip to content

Commit

Permalink
Fix world conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Aug 28, 2023
1 parent 0f7cbd0 commit 753580c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/queue-ab-conversion-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async () => {
if (snapshot == "worlds")
{
console.log(`Processing worlds`)
await processWorlds(abServer, token);
await processWorlds(abServers, token);
console.log(`Finished!`)
return;
}
Expand Down Expand Up @@ -130,7 +130,7 @@ export default async () => {
console.log(`Finished!`)
}

const processWorlds = async (abServer : string, token:string ) => {
const processWorlds = async (abServers : string[], token:string ) => {
const worldsIndexUrl = 'https://worlds-content-server.decentraland.org/index'
const worldsContentUrl = 'https://worlds-content-server.decentraland.org/'

Expand All @@ -154,7 +154,7 @@ const processWorlds = async (abServer : string, token:string ) => {

console.log(`> [${percent}%]`, name, scene.id)

await queueConversion(abServer, {
await queueConversions(abServers, {
entity: {
entityId: scene.id, authChain: [
{
Expand Down

0 comments on commit 753580c

Please sign in to comment.