Skip to content

Commit

Permalink
Fix territory unarchive schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzyis committed Oct 19, 2024
1 parent 7aa0d8f commit 50e153d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/resolvers/sub.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 50e153d

Please sign in to comment.