Skip to content

Commit

Permalink
deployer: fix sqlite from row impl
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianbarbu committed Jul 20, 2023
1 parent 4325f2c commit 752a6fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployer/src/persistence/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ impl From<Service> for service::Response {
impl FromRow<'_, SqliteRow> for Service {
fn from_row(row: &SqliteRow) -> Result<Self, sqlx::Error> {
Ok(Self {
id: Ulid::from_string(row.try_get("service_id")?).expect("to have a valid ulid string"),
name: row.try_get("service_name")?,
id: Ulid::from_string(row.try_get("id")?).expect("to have a valid ulid string"),
name: row.try_get("name")?,
})
}
}
Binary file added deployer/ulid0.dylib
Binary file not shown.

0 comments on commit 752a6fd

Please sign in to comment.