mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 12:21:50 +00:00
Use an i32
for user_id in RPC authentication message
This commit is contained in:
parent
c5cec247c4
commit
d243395e06
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ message Envelope {
|
||||||
}
|
}
|
||||||
|
|
||||||
message Auth {
|
message Auth {
|
||||||
uint64 user_id = 1;
|
int32 user_id = 1;
|
||||||
string access_token = 2;
|
string access_token = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -697,7 +697,7 @@ impl Workspace {
|
||||||
.request(
|
.request(
|
||||||
connection_id,
|
connection_id,
|
||||||
proto::Auth {
|
proto::Auth {
|
||||||
user_id: user_id.parse::<u64>()?,
|
user_id: user_id.parse()?,
|
||||||
access_token,
|
access_token,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue