mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 01:34:38 +10:00
fix: remove old validation on version import
This commit is contained in:
@@ -51,12 +51,6 @@ export default defineEventHandler(async (h3) => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (umuId && typeof umuId !== "string")
|
|
||||||
throw createError({
|
|
||||||
statusCode: 400,
|
|
||||||
statusMessage: "If specified, UMU ID must be a string.",
|
|
||||||
});
|
|
||||||
|
|
||||||
if (onlySetup) {
|
if (onlySetup) {
|
||||||
if (!setup)
|
if (!setup)
|
||||||
throw createError({
|
throw createError({
|
||||||
|
|||||||
Reference in New Issue
Block a user