I need to override a related data deletion operation because the SQL request generated is obviously wrong.
sequelize:sql:pg Executing (default): DELETE FROM "public"."user_hobby" WHERE "userId" IN ('8a38bf94-f707-41d6-a243-c1c36e1ab309|1408') +3ms DELETE /forest/user/8a38bf94-f707-41d6-a243-c1c36e1ab309/relationships/userHobbies?delete=true 422 134 - 72.044 ms
Neither in the users routes or user-hobbies routes I have the possibility to override the route above.
Could you please help me ?