Organization hooks (afterDelete)

Hey everyone, I’m looking into organization hooks because I need to set a new active organization after a user deletes the one they’re currently using. I was planning to handle this in the afterDeleteOrganization hook, since the docs mention it takes a request as the second parameter — but it doesn’t seem to exist in the actual code. Does anyone know what’s going on here? Could this be a docs issue, or something related to the types? Also, if there’s a better or more proper way to handle this scenario, I’d really appreciate any suggestions. Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?