Add OCS-APIRequest: true to tables app check

This commit is contained in:
Chris Coutinho
2025-08-01 09:11:14 +02:00
parent 56e5298cce
commit ed270bb926
+1 -1
View File
@@ -71,7 +71,7 @@ jobs:
# Check Tables app # Check Tables app
echo "Checking Tables app..." echo "Checking Tables app..."
attempt=0 attempt=0
until curl -u admin:admin -s -w "%{http_code}\n" -o /dev/null http://localhost:8080/ocs/v2.php/apps/tables/api/2/tables | grep -q "200"; do until curl -u admin:admin -H 'OCS-APIRequest: true' -s -w "%{http_code}\n" -o /dev/null http://localhost:8080/ocs/v2.php/apps/tables/api/2/tables | grep -q "200"; do
attempt=$((attempt + 1)) attempt=$((attempt + 1))
if [ $attempt -ge $max_attempts ]; then if [ $attempt -ge $max_attempts ]; then
echo "Tables app not ready after $max_attempts attempts." echo "Tables app not ready after $max_attempts attempts."