refactor: fix types
This commit is contained in:
parent
0e1b5d6f14
commit
60df819c60
19 changed files with 91 additions and 118 deletions
|
@ -219,8 +219,8 @@ export class ApiCallService implements OnApplicationShutdown {
|
|||
|
||||
const limit = Object.assign({}, ep.meta.limit);
|
||||
|
||||
if (!limit.key) {
|
||||
limit.key = ep.name;
|
||||
if (limit.key == null) {
|
||||
(limit as any).key = ep.name;
|
||||
}
|
||||
|
||||
// TODO: 毎リクエスト計算するのもあれだしキャッシュしたい
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue