feat: discrimination

This commit is contained in:
TrèsAbhi committed 2026-03-20 20:40:45 -05:00
1 parent e7337145d2
commit 44711a58c7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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);