Xray-App / xray-cloud-demo-project

Script for creating a demonstration project in Xray cloud.
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

fixed the issue with adding fields to screen when there are more than… #1

Open tansukahyaoglu-val opened 6 months ago

tansukahyaoglu-val commented 6 months ago

The screens endpoint is paginated, the method you have returns only the first 100 screens and if the screen is not in the first 100, it can't add the required fields to the screen. This commit gets all the screens and then searches for the specific screen

bitcoder commented 6 months ago

@bmpc if you have the opportunity, it would be great if you could review this