@lightupai/polaris 0.0.53 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +1 -1
- package/package.json +1 -1
package/Makefile
CHANGED
|
@@ -38,7 +38,7 @@ daemon:
|
|
|
38
38
|
# Slack bridge (auto-detects org from DB, needs SLACK_APP_TOKEN in .env)
|
|
39
39
|
bridge:
|
|
40
40
|
@if [ -z "$(SLACK_APP_TOKEN)" ]; then echo "Skipping bridge (no SLACK_APP_TOKEN in .env)"; else \
|
|
41
|
-
ORG=$$(docker exec
|
|
41
|
+
ORG=$$(docker compose exec -T polaris-postgres psql -U polaris -d polaris -t -A -c "SELECT id FROM orgs WHERE slack_team_id IS NOT NULL LIMIT 1;" 2>/dev/null); \
|
|
42
42
|
if [ -n "$$ORG" ]; then \
|
|
43
43
|
echo "Starting Slack bridge for org $$ORG"; \
|
|
44
44
|
nohup npx bun run src/slack/bridge.ts $$ORG >/tmp/polaris-bridge.log 2>&1 & \
|