Use an i32 for user_id in RPC authentication message
This commit is contained in:
@@ -17,7 +17,7 @@ message Envelope {
|
||||
}
|
||||
|
||||
message Auth {
|
||||
uint64 user_id = 1;
|
||||
int32 user_id = 1;
|
||||
string access_token = 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -697,7 +697,7 @@ impl Workspace {
|
||||
.request(
|
||||
connection_id,
|
||||
proto::Auth {
|
||||
user_id: user_id.parse::<u64>()?,
|
||||
user_id: user_id.parse()?,
|
||||
access_token,
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user