File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ for a scalable future software
21
21
<a href="https://www.reddit.com/r/lucidarch" target="_blank" style="margin-left: 10px;"><i class="fab fa-reddit-alien fa-lg"></i></a>
22
22
</div>
23
23
<div style="margin-left: 50px; margin-top: 6px;">
24
- <a class="github-button" href="/sponsors/lucid-architecture " data-icon="octicon-heart" aria-label="Sponsor @lucid-architecture on GitHub">Sponsor</a>
25
- <a class="github-button" href="/ntkme/github-buttons " data-icon="octicon-star" data-show-count="true" aria-label="Star ntkme/github-buttons on GitHub">Star</a>
24
+ <a class="github-button" href="/sponsors/lucidarch " data-icon="octicon-heart" aria-label="Sponsor @lucidarch on GitHub">Sponsor</a>
25
+ <a class="github-button" href="/lucidarch/lucid " data-icon="octicon-star" data-show-count="true" aria-label="Star lucidarch/lucid on GitHub">Star</a>
26
26
</div>
27
27
</div >
28
28
Original file line number Diff line number Diff line change @@ -522,7 +522,9 @@ class UpdateProductDetailsFeature
522
522
'input' => $request->input()
523
523
]);
524
524
525
- $user = $this->run(GetUserFromSessionJob::class);
525
+ $user = $this->run(GetUserByApiTokenJob::class, [
526
+ 'token' => $request->input('token'),
527
+ ]);
526
528
527
529
$product = $this->run(UpdateProductDetailsJob::class, [
528
530
'title' => $request->input('title'),
@@ -555,10 +557,8 @@ class UpdateProductDetailsFeature
555
557
$this->run(ValidateProductDeatilsInputJob::class, [
556
558
'input' => $request->input()
557
559
]);
558
-
559
- $user = $this->run(GetUserByApiTokenJob::class, [
560
- 'token' => $request->input('token'),
561
- ]);
560
+
561
+ $user = $this->run(GetUserFromSessionJob::class);
562
562
563
563
$product = $this->run(UpdateProductDetailsJob::class, [
564
564
'title' => $request->input('title'),
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ To save the link we'll create a job that saves links and run it in our feature,
425
425
`app/Domains/Link/Jobs/SaveLinkJob` along with its test `tests/Unit/Domains/Link/Jobs/SaveLinkJobTest`.
426
426
427
427
```bash
428
- lucid make:job SaveLik link
428
+ lucid make:job SaveLink link
429
429
```
430
430
431
431
{{% notice info %}}
You can’t perform that action at this time.
0 commit comments