We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d6037 commit 8253739Copy full SHA for 8253739
src/worker/jobs/expiry_notification.rs
@@ -175,7 +175,7 @@ mod tests {
175
api_tokens::user_id.eq(user.id),
176
api_tokens::name.eq(format!("test_token{i}")),
177
api_tokens::token.eq(token.hashed()),
178
- api_tokens::expired_at.eq(now.nullable() + (not_expired_offset).day()),
+ api_tokens::expired_at.eq(now.nullable() + not_expired_offset.day()),
179
))
180
.returning(ApiToken::as_returning())
181
.get_result(&mut conn)?;
0 commit comments