diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-04-14 20:45:37 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-04-14 20:45:37 +0900 |
| commit | b095efaee59572800244b34564692fd999cc4ded (patch) | |
| tree | 89a2a1401b2af797bb687d0d79cfb5e9e52d987e /src/api/endpoints/aggregation/posts | |
| parent | Fix tslint.json (diff) | |
| download | sharkey-b095efaee59572800244b34564692fd999cc4ded.tar.gz sharkey-b095efaee59572800244b34564692fd999cc4ded.tar.bz2 sharkey-b095efaee59572800244b34564692fd999cc4ded.zip | |
Migrate to tslint 5.1.0
Diffstat (limited to 'src/api/endpoints/aggregation/posts')
| -rw-r--r-- | src/api/endpoints/aggregation/posts/likes.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/aggregation/posts/likes.ts b/src/api/endpoints/aggregation/posts/likes.ts index 454368eded..5031edbffb 100644 --- a/src/api/endpoints/aggregation/posts/likes.ts +++ b/src/api/endpoints/aggregation/posts/likes.ts @@ -49,7 +49,7 @@ module.exports = (params) => new Promise(async (res, rej) => { day = new Date(day.setSeconds(59)); day = new Date(day.setMinutes(59)); day = new Date(day.setHours(23)); - //day = day.getTime(); + // day = day.getTime(); const count = likes.filter(l => l.created_at < day && (l.deleted_at == null || l.deleted_at > day) |