Skip to content

Commit 0dc1cb1

Browse files
committed
upd
1 parent 3af247a commit 0dc1cb1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/cubejs-backend-native/src/auth.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl AuthContext for NativeSQLAuthContext {
111111
impl SqlAuthService for NodeBridgeAuthService {
112112
async fn authenticate(
113113
&self,
114-
sql_auth_request: SqlAuthServiceAuthenticateRequest,
114+
request: SqlAuthServiceAuthenticateRequest,
115115
user: Option<String>,
116116
password: Option<String>,
117117
) -> Result<AuthenticateResponse, CubeError> {
@@ -123,8 +123,8 @@ impl SqlAuthService for NodeBridgeAuthService {
123123
request: TransportAuthRequest {
124124
id: format!("{}-span-1", request_id),
125125
meta: None,
126-
protocol: sql_auth_request.protocol.clone(),
127-
method: sql_auth_request.method.clone(),
126+
protocol: request.protocol,
127+
method: request.method,
128128
},
129129
user: user.clone(),
130130
password: password.clone(),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct SqlAuthServiceAuthenticateRequest {
5454
pub trait SqlAuthService: Send + Sync + Debug {
5555
async fn authenticate(
5656
&self,
57-
sql_auth_request: SqlAuthServiceAuthenticateRequest,
57+
request: SqlAuthServiceAuthenticateRequest,
5858
user: Option<String>,
5959
password: Option<String>,
6060
) -> Result<AuthenticateResponse, CubeError>;

0 commit comments

Comments
 (0)