Skip to content

Commit

Permalink
Merge pull request #183 from Enraged-Dun-Cookie-Development-Team/fix-…
Browse files Browse the repository at this point in the history
…redis设置更新饼id的ttl错误

🐛 修复redis设置更新饼id的ttl设置错误
  • Loading branch information
Goodjooy authored May 15, 2024
2 parents caa0ff7 + dd800c8 commit bbfbfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/ceobe_cookie_logic/src/impletements/new_cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl CeobeCookieLogic {
if update_id != update_cookie {
// 对已经被替换下的饼id设置ttl,2小时
CookieListKey::NEW_UPDATE_COOKIE_ID
.bind_with(redis, &update_id)
.bind_with(redis, &update_cookie)
.set_with_expire(true, Duration::from_secs(2 * 3600))
.await?;
}
Expand Down

0 comments on commit bbfbfa3

Please sign in to comment.