We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7065c commit ace1472Copy full SHA for ace1472
backend/src/index.ts
@@ -11,7 +11,7 @@ dotenv.config();
11
(async () => {
12
try {
13
const events = await fetchEvents();
14
- eventInfoMutex.runExclusive(() => eventInfo = eventInfo.concat(events));
+ eventInfoMutex.runExclusive(() => eventInfo.push(...events));
15
console.log("Events fetched successfully");
16
} catch (error) {
17
// do we ungracefully bail out here???
0 commit comments