Skip to content

Commit 5c59027

Browse files
Changed to gh_id
1 parent 1e39dde commit 5c59027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/transfer-crates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn transfer(tx: &postgres::transaction::Transaction) {
4848
let from = User::find_by_login(tx, &from).unwrap();
4949
let to = User::find_by_login(tx, &to).unwrap();
5050

51-
if from.gh_avatar != to.gh_avatar {
51+
if from.gh_id != to.gh_id {
5252
println!("====================================================");
5353
println!("WARNING");
5454
println!("");

0 commit comments

Comments
 (0)