File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class APIService {
31
31
32
32
if ( response . status !== 200 ) return null ;
33
33
34
- await this . cacheManager . set ( `repos:${ username } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 * 12 ) ;
34
+ await this . cacheManager . set ( `repos:${ username } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 ) ;
35
35
return response . data ;
36
36
}
37
37
@@ -102,7 +102,7 @@ export class APIService {
102
102
longest : longest_streak
103
103
}
104
104
105
- await this . cacheManager . set ( `streak:${ username } ` , JSON . stringify ( result ) , 1000 * 60 * 60 * 12 ) ;
105
+ await this . cacheManager . set ( `streak:${ username } ` , JSON . stringify ( result ) , 1000 * 60 * 60 ) ;
106
106
return result ;
107
107
}
108
108
@@ -119,7 +119,7 @@ export class APIService {
119
119
return null ;
120
120
}
121
121
122
- await this . cacheManager . set ( `waka_global:${ path } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 * 12 ) ;
122
+ await this . cacheManager . set ( `waka_global:${ path } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 ) ;
123
123
return response . data ;
124
124
}
125
125
@@ -136,7 +136,7 @@ export class APIService {
136
136
return null ;
137
137
}
138
138
139
- await this . cacheManager . set ( `waka_langs:${ path } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 * 12 ) ;
139
+ await this . cacheManager . set ( `waka_langs:${ path } ` , JSON . stringify ( response . data ) , 1000 * 60 * 60 ) ;
140
140
return response . data ;
141
141
}
142
142
You can’t perform that action at this time.
0 commit comments