mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: discrimination
This commit is contained in:
1 parent
e7337145d2
commit
44711a58c7
2 files changed
+4
-4
No files matched your search
@@ -168,7 +168,7 @@ export class ServerAPI extends AbstractAPI {
|
||||
return data;
|
||||
}
|
||||
|
||||
@Cache((id) => id)
|
||||
@Cache<[string]>((id) => id)
|
||||
async tank(id: string) {
|
||||
const tankList = await this.tankList();
|
||||
const tankListEntry = tankList.list.find((tank) => tank.id === id);
|
||||
|
||||
Reference in new issue
Block a user