Skip to content

Commit bbfbfa3

Browse files
authored
Merge pull request #183 from Enraged-Dun-Cookie-Development-Team/fix-redis设置更新饼id的ttl错误
🐛 修复redis设置更新饼id的ttl设置错误
2 parents caa0ff7 + dd800c8 commit bbfbfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logic/ceobe_cookie_logic/src/impletements/new_cookie.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl CeobeCookieLogic {
229229
if update_id != update_cookie {
230230
// 对已经被替换下的饼id设置ttl,2小时
231231
CookieListKey::NEW_UPDATE_COOKIE_ID
232-
.bind_with(redis, &update_id)
232+
.bind_with(redis, &update_cookie)
233233
.set_with_expire(true, Duration::from_secs(2 * 3600))
234234
.await?;
235235
}

0 commit comments

Comments
 (0)