add back missing param to validate call on record post route

This commit is contained in:
kevmodrome 2020-10-12 20:37:41 +02:00
parent 3cd2cdb722
commit 41e23e78ce
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ router
)
.post(
"/api/:modelId/records/validate",
authorized(WRITE_MODEL),
authorized(WRITE_MODEL, ctx => ctx.params.modelId),
recordController.validate
)
.delete(