Skip to content

Commit

Permalink
fix: postgres command
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Apr 30, 2024
1 parent f3198df commit 1ceb561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keylistCron/send_commitment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi
echo "Keylist $KEYLIST_HASH attestation completed successfully!"

# Connect to the database and save the keylist JSON
PG_COMMAND="PGPASSWORD=\"$DB_PASSWORD\" psql -h $DB_HOST -p $DB_PORT -d $DB_NAME -U $DB_USER -c \"
PG_COMMAND="PGPASSWORD=\"$DB_PASSWORD\" psql -h \"$DB_HOST\" -p \"$DB_PORT\" -d \"$DB_NAME\" -U \"$DB_USER\" -c \"
CREATE TABLE IF NOT EXISTS keylist_info (
json_data json NOT NULL
);
Expand Down

0 comments on commit 1ceb561

Please sign in to comment.