Skip to content

Commit b1dbade

Browse files
committed
primitives - From<&Row> for Channel - rename channel_id to id
1 parent 6ac2e39 commit b1dbade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub mod postgres {
222222
impl From<&Row> for Channel {
223223
fn from(row: &Row) -> Self {
224224
Self {
225-
id: row.get("channel_id"),
225+
id: row.get("id"),
226226
creator: row.get("creator"),
227227
deposit_asset: row.get("deposit_asset"),
228228
deposit_amount: row.get("deposit_amount"),

0 commit comments

Comments
 (0)