Now let's continue with remote reactions.
Okay.
So right here after we remove reaction to decrease the reaction from the database.
Right.
And with this information we need to send back for the client.
And that will be enough.
I will come over here right.
And from here we actually have same.
So I will go save boss.
And we need to emit the event.
Right.
So I will call this dot.
Boss.
Gateway dot handle remote reaction.
And we only need to send the save boss.
Before that, make sure you convert it.
And let's.
Create this method.
Retrieval workshop with the boss over here.
Let me console.log.
Right now.
Let my cloth inside, remove reactions and copy the array.
Over here.
Okay.
And we just need to say before that, let me say.
Let me say and let's check the terminal.
Now you can say right here we already admit.
But Y is still here.
Let me try to let on reactions.
Let me try to get on a bus.
Let me say right here that we already zero.
It means right here.
Is not work is not work.
When we say an entire response.
Okay, so we have so many way, right.
Follow.
We can try to find.
A new one.
Ah.
Uh, now, what about the reason?
because we need to vote.
The one option we knew would be true.
Okay, with this information it will update the site was okay.
It will return a new real one.
Okay.
It will output.
The new will be true.
It will return the old ones.
So for that reason, it will not.
You will not say, let me try again.
I will add a reaction to this thing and I get on boss.
Okay.
We already had a headway with one.
And let me click on remove and check the terminal.
Okay.
Send us and check the terminal.
Now here you can say we already got a reaction count.
We will have.
We will be zero.
So it means we are already done with the remove reaction.
And I hope you understand this video and I will see you in the next one.