1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

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

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(