Companies are now listing properly
This commit is contained in:
+3
-1
@@ -9,7 +9,9 @@ if (Bun.env.NODE_ENV == "development") setupEventDebugger();
|
||||
|
||||
// Refresh the internal list of companies every minute
|
||||
await refreshCompanies();
|
||||
setInterval(() => refreshCompanies, 60 * 1000);
|
||||
setInterval(() => {
|
||||
return refreshCompanies();
|
||||
}, 60 * 1000);
|
||||
|
||||
Bun.serve({
|
||||
port: PORT,
|
||||
|
||||
Reference in New Issue
Block a user