mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +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 (!setup)
|
||||
throw createError({
|
||||
|
||||
Reference in New Issue
Block a user