Skip to content

Commit de1e41a

Browse files
longer user created cache
1 parent 8d0ce15 commit de1e41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apis/apis.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class APIService {
6161

6262
const data: UserReg = response.data;
6363

64-
await this.cacheManager.set(`user_reg:${username}`, JSON.stringify(data), 1000 * 60 * 60);
64+
await this.cacheManager.set(`user_reg:${username}`, JSON.stringify(data), 1000 * 60 * 60 * 1000);
6565
return data;
6666
}
6767

0 commit comments

Comments
 (0)