Skip to content

Commit 8253739

Browse files
committed
worker/jobs/expiry_notification: Remove unnecessary parentheses
1 parent 79d6037 commit 8253739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/jobs/expiry_notification.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ mod tests {
175175
api_tokens::user_id.eq(user.id),
176176
api_tokens::name.eq(format!("test_token{i}")),
177177
api_tokens::token.eq(token.hashed()),
178-
api_tokens::expired_at.eq(now.nullable() + (not_expired_offset).day()),
178+
api_tokens::expired_at.eq(now.nullable() + not_expired_offset.day()),
179179
))
180180
.returning(ApiToken::as_returning())
181181
.get_result(&mut conn)?;

0 commit comments

Comments
 (0)