Fix territory unarchive schema validation

This commit is contained in:
ekzyis 2024-10-20 01:25:25 +02:00
parent 7aa0d8f430
commit 50e153df7c
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ export default {
const { name } = data
await ssValidate(territorySchema, data, { models, me, sub: { name } })
await ssValidate(territorySchema, data, { models, me })
const oldSub = await models.sub.findUnique({ where: { name } })
if (!oldSub) {