Skip to content

Commit 0f3d5e3

Browse files
docs: fix mulitplatform games in user trophy list example (#214)
1 parent 61ee707 commit 0f3d5e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/examples/user-trophy-list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function main() {
5555
"all",
5656
{
5757
npServiceName:
58-
title.trophyTitlePlatform !== "PS5" ? "trophy" : undefined
58+
title.trophyTitlePlatform.includes("PS5") ? undefined : "trophy"
5959
}
6060
);
6161

@@ -67,7 +67,7 @@ async function main() {
6767
"all",
6868
{
6969
npServiceName:
70-
title.trophyTitlePlatform !== "PS5" ? "trophy" : undefined
70+
title.trophyTitlePlatform.includes("PS5") ? undefined : "trophy"
7171
}
7272
);
7373

0 commit comments

Comments
 (0)