diff --git a/server/replays.ts b/server/replays.ts index 51003157379c..200e9096d4b2 100644 --- a/server/replays.ts +++ b/server/replays.ts @@ -91,7 +91,7 @@ export const Replays = new class { return replayData; } - export async function retry(fn: () => Promise, retries: number = 3, delayMs: number = 1000): Promise { + async retry(fn: () => Promise, retries: number = 3, delayMs: number = 1000): Promise { let lastError: any; for (let attempt = 1; attempt <= retries; attempt++) { try {