Commit 96217f5e authored by nanahira's avatar nanahira

a bit fix again

parent c393b7df
......@@ -51,10 +51,14 @@ export default class YGOTournamentPlugin extends StarterPlugin(
}
private async setChallongeCache(data: TournamentWrapper) {
return this.aragami.set(ChallongeData, {
...data,
challongeId: this.config.tournament.challongeTournamentId,
});
return this.aragami.set(
ChallongeData,
{
...data,
challongeId: this.config.tournament.challongeTournamentId,
},
{ ttl: this.config.tournament.challongeCacheTTL },
);
}
private async fetchChallongeData() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment