Hey guys, just a real quick bug fix.
We have a small bug where if we edit something like you can see these air pods are $79.
If I go ahead and change that to 89 and then update and it comes back here and it still says 79 until
I refresh and then it's 89.
So to solve this, what we want to do is in the update product we have invalidates tags, which is correct.
However, we want this to be products.
And then also up here when we get the products we want to do provides tags.
So right here we're going to do provides.
Provides tags products.
Okay.
Because when we when we add this invalidate tags, what it's going to do is get rid of any cached products.
Okay.
And then we need to have provides tags here in the get product.
So that should fix our issue.
So I'm just going to reload and then let's go and change this 89 to 79 and click update.
And now you can see it's changed to 79.
All right.
So I just wanted to mention that just a small bug.
So that's it.
Let's move on to the next video.