diff options
-rw-r--r-- | src/ship.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ship.rs b/src/ship.rs index bcb6981..f38d1f9 100644 --- a/src/ship.rs +++ b/src/ship.rs @@ -48,7 +48,7 @@ pub struct DbShip { pub id: i32, pub name: String, - pub shasum: Sha256, + pub shasum: String, pub download_url: String, pub version: String } @@ -57,7 +57,7 @@ impl From<DbShip> for Ship { fn from(o: DbShip) -> Self { Self { name: o.name, - shasum: o.shasum, + shasum: Sha256(o.shasum), download_url: o.download_url, version: o.version } |