mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: type
This commit is contained in:
1 parent
f7fac5ad26
commit
1d65ff3e0c
1 file changed
+1
-1
@@ -17,7 +17,7 @@ export default async function resolveTankId(tank: string | number) {
|
|||||||
|
|
||||||
if (searchResult.length === 0) {
|
if (searchResult.length === 0) {
|
||||||
throw new UserError(
|
throw new UserError(
|
||||||
`# Tank not found\nCould not find tank by the name "${markdownEscape(tank)}".`,
|
`# Tank not found\nCould not find tank by the name "${markdownEscape(`${tank}`)}".`,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return searchResult[0].obj.id;
|
return searchResult[0].obj.id;
|
||||||
|
|||||||
Reference in new issue
Block a user