mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-16 04:35:24 +02:00
fix: typing
This commit is contained in:
@@ -267,7 +267,7 @@ const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = [
|
||||
];
|
||||
|
||||
export const cleanupAll = async (serverId?: string) => {
|
||||
for (const [key, command] of Object.entries(cleanupCommands)) {
|
||||
for (const [key, command] of Object.entries(cleanupCommands) as [keyof typeof cleanupCommands, string][]) {
|
||||
if (excludedCleanupAllCommands.includes(key)) continue;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user