The sql template literal '= ANY()' was causing 500 errors during screenshot deletion in the PATCH edit endpoint. Replaced all 3 occurrences with Drizzle's native inArray() which safely handles array parameters, including empty arrays.
The sql template literal '= ANY()' was causing 500 errors during screenshot deletion in the PATCH edit endpoint. Replaced all 3 occurrences with Drizzle's native inArray() which safely handles array parameters, including empty arrays.