Update Config local to remote name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to import privy-users.csv into WhitelistAccounts table
|
||||
# Uses connection string from appsettings.ProductionLocal.json
|
||||
# Uses connection string from appsettings.ProductionRemote.json
|
||||
|
||||
set -e # Exit on error
|
||||
|
||||
@@ -9,7 +9,7 @@ set -e # Exit on error
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
CSV_FILE="$SCRIPT_DIR/privy-users.csv"
|
||||
SETTINGS_FILE="$PROJECT_ROOT/src/Managing.Api/appsettings.ProductionLocal.json"
|
||||
SETTINGS_FILE="$PROJECT_ROOT/src/Managing.Api/appsettings.ProductionRemote.json"
|
||||
|
||||
# Check if CSV file exists
|
||||
if [ ! -f "$CSV_FILE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user