Skip to content

Commit

Permalink
🎨 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Aug 28, 2023
1 parent bc0f2ca commit 3c8e86d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions resources/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ primary_region = "ams"
image = "registry.fly.io/scala-slack-bot:latest"

[http_service]
internal_port = 9876
force_https = true
min_machines_running = 0
internal_port = 9876
force_https = true
min_machines_running = 0
6 changes: 3 additions & 3 deletions scripts/create-slack-app.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -xeuv

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

manifest="$( cat ${SCRIPT_DIR}/../resources/slack-manifest.json | envsubst )"
manifest="$(cat ${SCRIPT_DIR}/../resources/slack-manifest.json | envsubst)"

function createApp() {
curl -s -XPOST https://slack.com/api/apps.manifest.create \
Expand All @@ -14,4 +14,4 @@ function createApp() {
response=$(createApp)
app_id=$(echo $response | jq -r '.app_id')

echo "Go to https://api.slack.com/apps/${app_id}/oauth and install the app"
echo "Go to https://api.slack.com/apps/${app_id}/oauth and install the app"

0 comments on commit 3c8e86d

Please sign in to comment.