Merge pull request #1502 from stackernews/fix-unarchive

Fix territory unarchive schema validation
This commit is contained in:
Keyan 2024-10-19 20:21:40 -05:00 committed by GitHub
commit 5d5bc22e3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {