eslint-config-trybe icon indicating copy to clipboard operation
eslint-config-trybe copied to clipboard

Update read-only.js

Open devonatdomandtom opened this issue 8 years ago • 1 comments

Added check to see if body is empty to prevent sql error 'syntax error at or near "WHERE"'

devonatdomandtom avatar Aug 19 '16 22:08 devonatdomandtom

@ mrfelton I wonder if these are valid tests? If we're only updating readonly model attributes, shouldn't we return a 403? Can I amend the test?

devonatdomandtom avatar Aug 23 '16 20:08 devonatdomandtom