From 3970cd452b1fb174583e63fcea7a954c88c7f673 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 2 Jul 2025 00:52:25 -0600 Subject: [PATCH] refactor: update volume backup imports for improved organization - Changed import paths for findVolumeBackupById and findComposeById to enhance clarity and maintainability. - Updated import structure to align with the latest service organization in the @dokploy/server package. --- packages/server/src/utils/volume-backups/backup.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/server/src/utils/volume-backups/backup.ts b/packages/server/src/utils/volume-backups/backup.ts index 401a47f06..46a15657f 100644 --- a/packages/server/src/utils/volume-backups/backup.ts +++ b/packages/server/src/utils/volume-backups/backup.ts @@ -1,8 +1,9 @@ -import { type findVolumeBackupById, paths } from "@dokploy/server"; +import type { findVolumeBackupById } from "@dokploy/server/services/volume-backups"; import { normalizeS3Path } from "../backups/utils"; import { getS3Credentials } from "../backups/utils"; import path from "node:path"; -import { findComposeById } from "@dokploy/server"; +import { paths } from "@dokploy/server/constants"; +import { findComposeById } from "@dokploy/server/services/compose"; export const backupVolume = async ( volumeBackup: Awaited>,