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
371083d2
Commit
371083d2
authored
Oct 24, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error on non-existing card
parent
65e14018
Pipeline
#41245
passed with stages
in 1 minute and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/app.service.ts
src/app.service.ts
+10
-1
No files found.
src/app.service.ts
View file @
371083d2
...
...
@@ -165,6 +165,15 @@ export class AppService extends ConsoleLogger {
const
qty
=
entry
.
length
;
const
cardData
=
cardDataMap
[
entry
[
0
]];
const
lang
=
dto
.
lang
||
'
sc
'
;
if
(
!
cardData
[
`
${
lang
}
_name`
])
{
throw
new
BlankReturnMessageDto
(
404
,
`Card ID
${
cardData
.
id
}
does not have name for language
${
lang
.
toUpperCase
()}
`
,
).
toException
();
}
await
this
.
drawTextService
.
drawTextInBox
(
doc
,
qty
.
toString
(),
...
...
@@ -173,7 +182,7 @@ export class AppService extends ConsoleLogger {
);
await
this
.
drawTextService
.
drawTextInBox
(
doc
,
cardData
[
`
${
dto
.
lang
||
'
sc
'
}
_name`
]
||
''
,
cardData
[
`
${
dto
.
lang
||
'
sc
'
}
_name`
],
moveDown
(
cord
.
name
,
j
),
pageIndex
,
);
...
...
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