Skip to content

Commit

Permalink
rustodonctl: generate-keys should filter on NULL, not []
Browse files Browse the repository at this point in the history
  • Loading branch information
barzamin committed Mar 16, 2019
1 parent 7a79bfe commit 19a804a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/rustodonctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn main() -> Result<(), Box<std::error::Error>> {

let needs_keys = accounts::table
.inner_join(users::table)
.filter(accounts::privkey.eq(Vec::new()))
.filter(accounts::privkey.is_null())
.select(accounts::all_columns)
.load::<Account>(&db_conn)?;

Expand Down

0 comments on commit 19a804a

Please sign in to comment.