Skip to content

Commit 77dbe98

Browse files
committed
chore: fix
1 parent 7775140 commit 77dbe98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/cubesql/cubesql/src/sql/auth_service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde_json::Value;
99
pub trait AuthContext: Debug + Send + Sync {
1010
fn as_any(&self) -> &dyn Any;
1111

12-
fn user(&self) -> Option<String>;
12+
fn user(&self) -> Option<&String>;
1313

1414
fn security_context(&self) -> Option<&serde_json::Value>;
1515
}
@@ -27,7 +27,7 @@ impl AuthContext for HttpAuthContext {
2727
self
2828
}
2929

30-
fn user(&self) -> Option<String> {
30+
fn user(&self) -> Option<&String> {
3131
None
3232
}
3333

0 commit comments

Comments
 (0)