summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/generate_bearer_token4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/generate_bearer_token b/script/generate_bearer_token
index e6a22ea..7614f37 100755
--- a/script/generate_bearer_token
+++ b/script/generate_bearer_token
@@ -74,9 +74,9 @@ else
secrets["development"]["twitter"]["bearer_token"] = $bearer_token
secrets["test"]["twitter"]["bearer_token"] = $bearer_token
- secrets["production"]["twitter"]["twitter_handle"] = $bearer_token
+ secrets["production"]["twitter"]["bearer_token"] = $bearer_token
- File.open("#{options[:projectroot]}/leap_web/config/secrets.yml", "r+") do |file|
+ File.open("#{options[:projectroot]}/config/secrets.yml", "r+") do |file|
file.write(secrets.to_yaml)
end
end