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.
This commit is contained in:
Mauricio Siu
2025-07-02 00:52:25 -06:00
parent 107cdcee49
commit 3970cd452b

View File

@@ -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<ReturnType<typeof findVolumeBackupById>>,