afterDelete hook not reading url query
I'm trying to pass an Id via query to an afterDelete lifecycle hook but is not working and always return undefined in strapi console log. I have tried with ctx.request.query but keep returning can not read query of type undefined. What is the method of reading queries in a lifecycle hook strapi v5
