From 1ceb56143402789b54feebab4614becd40d73ef5 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Tue, 30 Apr 2024 12:23:06 +0530 Subject: [PATCH] fix: postgres command --- keylistCron/send_commitment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keylistCron/send_commitment.sh b/keylistCron/send_commitment.sh index 2f097ae6..16d0e458 100644 --- a/keylistCron/send_commitment.sh +++ b/keylistCron/send_commitment.sh @@ -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 );