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 1e1662d265
commit f386dba290
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
1 changed files with 1 additions and 1 deletions

View File

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