Skip to content

Commit

Permalink
restructure code
Browse files Browse the repository at this point in the history
  • Loading branch information
Herman-Riah19 committed Nov 20, 2023
1 parent bee69c0 commit 86024ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Controllers/Http/ProductsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ export default class ProductsController {
liked = hasBeenLiked!.isLiked;
}

const { avatarUrl, authenticateProfile } =
await ProfileService.getAthenticateProfile(auth);
const { avatarUrl, authenticateProfile } = await ProfileService.getAthenticateProfile(auth);

const users = await User.all();

Expand Down

0 comments on commit 86024ed

Please sign in to comment.