Switch CreateWorktreeResponse::worktree_id to be a i32

Apparently all IDs in `sqlx` on the server are represented as i32s.
This commit is contained in:
Antonio Scandurra
2021-06-11 16:15:06 +02:00
parent 20542f54ef
commit 4efebdaa52
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,6 +2,6 @@ use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct CreateWorktreeResponse {
pub worktree_id: u64,
pub worktree_id: i32,
pub rpc_address: String,
}