Title says it all.
I am using the beforeChange Collection hook to save a field with data coming from the parent through payload.findByID but this always returns the parent data from the default locale. Is there a way to get the current selected locale so I can use this in the findById query?
Thanks!
Ok, I can just get it from the express request!
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.