Skip to content
Snippets Groups Projects
Unverified Commit 0fddfe48 authored by Cal Herries's avatar Cal Herries Committed by GitHub
Browse files

BE fix for 23505: Models should not allow variables (#24902)


* Add validation to card PUT and POST endpoints to invalidate saving models with variables

* Fix validation for snippets and saved question CTEs

* Move validation to pre-update and pre-insert instead of API endpoints

* Fix lint warning

* Replace hard-coded id

* Optimize DB calls in card pre-update

* Accept formatting suggestion

Co-authored-by: default avatarNgoc Khuat <qn.khuat@gmail.com>

Co-authored-by: default avatarNgoc Khuat <qn.khuat@gmail.com>
parent c90b0e10
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment