From b85536de8f11584b9d36ce58ccd933c647b52da2 Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Mon, 19 Jun 2023 20:32:53 -0500 Subject: [PATCH] Fix cntrb upsert Signed-off-by: Andrew Brain --- augur/tasks/github/facade_github/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/tasks/github/facade_github/tasks.py b/augur/tasks/github/facade_github/tasks.py index cc1c1a5ae5..04ccc16e12 100644 --- a/augur/tasks/github/facade_github/tasks.py +++ b/augur/tasks/github/facade_github/tasks.py @@ -133,7 +133,7 @@ def process_commit_metadata(logger,db,auth,contributorQueue,repo_id,platform_id) #Executes an upsert with sqlalchemy - cntrb_natural_keys = ['cntrb_login'] + cntrb_natural_keys = ['cntrb_id'] db.insert_data(cntrb,Contributor,cntrb_natural_keys)