Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 4828551

Browse files
Fixxx: Mismatch in error message for deleteDockerHost parameter.
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 8579a13 commit 4828551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/database/repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export const dbFunctions = {
260260
() => {
261261
if (typeof id !== "number") {
262262
logger.error("Invalid parameter type for deleteDockerHost");
263-
throw new TypeError("Name parameter must be a string");
263+
throw new TypeError("id parameter must be a number");
264264
}
265265
}
266266
);

0 commit comments

Comments
 (0)