Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-deckform-filler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-deckform-filler
Commits
7f931545
Commit
7f931545
authored
Oct 23, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8f62bc29
Pipeline
#41216
passed with stages
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/card-data/card-data.service.ts
src/card-data/card-data.service.ts
+8
-0
No files found.
src/card-data/card-data.service.ts
View file @
7f931545
...
@@ -65,6 +65,13 @@ export class CardDataService {
...
@@ -65,6 +65,13 @@ export class CardDataService {
).
toException
();
).
toException
();
}
}
const
data
=
this
.
parseYgoCardType
(
resp
);
const
data
=
this
.
parseYgoCardType
(
resp
);
if
(
!
data
)
{
this
.
logger
.
warn
(
`Card ID
${
id
}
has invalid data`
);
throw
new
GenericReturnMessageDto
(
404
,
`Card ID
${
id
}
has invalid data`
,
).
toException
();
}
this
.
logger
.
log
(
this
.
logger
.
log
(
`Fetched card data for ID
${
id
}
:
${
data
.
type
}
${
data
.
name
}
`
,
`Fetched card data for ID
${
id
}
:
${
data
.
type
}
${
data
.
name
}
`
,
);
);
...
@@ -84,6 +91,7 @@ export class CardDataService {
...
@@ -84,6 +91,7 @@ export class CardDataService {
this
.
ygocdbExisting
.
clear
();
this
.
ygocdbExisting
.
clear
();
for
(
const
card
of
cards
)
{
for
(
const
card
of
cards
)
{
const
data
=
this
.
parseYgoCardType
(
card
);
const
data
=
this
.
parseYgoCardType
(
card
);
if
(
!
data
)
continue
;
this
.
ygocdbExisting
.
set
(
card
.
id
,
data
);
this
.
ygocdbExisting
.
set
(
card
.
id
,
data
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment