|
Await guild creation to fix a race condition
`Promise.all(...)` runs these simultaneously, yet role depends on the guild to be created first. This can lead to a race condition. I've awaited role creation too because the call to `Member.addToGuild(...)` relies on the role to be created. |
|---|
|
|
| src/api/routes/guilds/templates/index.ts |
|---|