Skip to content

Commit b4405aa

Browse files
atrakhConvex, Inc.
authored andcommitted
Fix offsets in update_auth0 (#40353)
GitOrigin-RevId: bd7f4c6ed6b0379f6074afb20cbb405977211c21
1 parent bed408a commit b4405aa

File tree

1 file changed

+2
-2
lines changed
  • crates/authentication/src

1 file changed

+2
-2
lines changed

crates/authentication/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ pub struct ConsoleAccessToken {
542542

543543
impl ConsoleAccessToken {
544544
#[cfg(any(test, feature = "testing"))]
545-
pub fn new(email: String, sub: String) -> Self {
545+
pub fn new(email: Option<String>, sub: String) -> Self {
546546
Self {
547-
email: Some(email),
547+
email,
548548
sub,
549549
name: None,
550550
vercel: None,

0 commit comments

Comments
 (0)