1
0
Fork 0
mirror of synced 2024-07-06 23:10:57 +12: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(
"/api/:modelId/records/validate",
authorized(WRITE_MODEL),
authorized(WRITE_MODEL, ctx => ctx.params.modelId),
recordController.validate
)
.delete(