Hi everyone, I am asking for help on a problem I’ve come across. So recently, I’m creating an “online bank” sort of thing that allows you to withdraw/deposit money, but most importantly, transfer the money. It is easy to update the logged in user’s bank balance after the transfer, but how do I update the other user’s bank balance? I believe that you’re only allowed to update the logged in user’s data, but I might be wrong.
For context, I’ve already set up a dropdown where you can select the user to transfer money to. The problem is how to increase that user’s balance by the transferred amount. Thanks for any help!