1
00:00:00,290 --> 00:00:02,750
Hey guys, just a real quick bug fix.

2
00:00:02,750 --> 00:00:08,510
We have a small bug where if we edit something like you can see these air pods are $79.

3
00:00:08,510 --> 00:00:16,219
If I go ahead and change that to 89 and then update and it comes back here and it still says 79 until

4
00:00:16,219 --> 00:00:18,520
I refresh and then it's 89.

5
00:00:18,530 --> 00:00:26,960
So to solve this, what we want to do is in the update product we have invalidates tags, which is correct.

6
00:00:26,960 --> 00:00:29,270
However, we want this to be products.

7
00:00:29,270 --> 00:00:35,030
And then also up here when we get the products we want to do provides tags.

8
00:00:35,030 --> 00:00:38,540
So right here we're going to do provides.

9
00:00:39,950 --> 00:00:42,260
Provides tags products.

10
00:00:43,450 --> 00:00:44,140
Okay.

11
00:00:44,140 --> 00:00:51,640
Because when we when we add this invalidate tags, what it's going to do is get rid of any cached products.

12
00:00:51,850 --> 00:00:52,300
Okay.

13
00:00:52,300 --> 00:00:56,950
And then we need to have provides tags here in the get product.

14
00:00:56,950 --> 00:00:59,260
So that should fix our issue.

15
00:00:59,270 --> 00:01:07,000
So I'm just going to reload and then let's go and change this 89 to 79 and click update.

16
00:01:07,000 --> 00:01:10,450
And now you can see it's changed to 79.

17
00:01:10,480 --> 00:01:10,750
All right.

18
00:01:10,750 --> 00:01:13,480
So I just wanted to mention that just a small bug.

19
00:01:13,480 --> 00:01:14,230
So that's it.

20
00:01:14,230 --> 00:01:15,640
Let's move on to the next video.

