ai/at
1
0

fix install

This commit is contained in:
2025-12-26 01:12:53 +09:00
parent bab1e653d9
commit d735b1f214

View File

@@ -430,7 +430,7 @@ function at-repos-reset-bgs-db() {
result=$(curl -s -X POST "https://bgs.${host}/admin/pds/requestCrawl" \
-H "Authorization: Bearer ${BGS_ADMIN_KEY}" \
-H "Content-Type: application/json" \
-d "{\"hostname\":\"{$host}\"}" \
-d "{\"hostname\":\"${host}\"}" \
-w "%{http_code}" -o /dev/null)
if [ "$result" = "200" ]; then
echo "✅ PDS crawl requested successfully"