I had to add into the params
'external_id' => $user_id,
But other than that, it works. Thanks!
(However now I have the issue that the hook I was given is fired before the file is moved, so it gets the old avatar… but that’s not your fault
)
I had to add into the params
'external_id' => $user_id,
But other than that, it works. Thanks!
(However now I have the issue that the hook I was given is fired before the file is moved, so it gets the old avatar… but that’s not your fault
)