Commit 8ef5ef0 1 parent 3697ddd commit 8ef5ef0 Copy full SHA for 8ef5ef0
File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ def api():
320
320
downgrade ,
321
321
is_web ,
322
322
is_curl ,
323
- is_pr ,
324
323
response ,
325
324
session_id ,
326
325
) = (
@@ -335,18 +334,14 @@ def api():
335
334
event_data .get ("downgrade" ),
336
335
event_data .get ("is_web" , False ),
337
336
event_data .get ("is_curl" , False ),
338
- event_data .get ("is_pr" , False ),
339
337
event_data .get ("response" ),
340
338
event_data .get ("session_id" ),
341
339
)
342
340
if not pssh or not license_url :
343
341
raise BadRequest ("Missing Fields" )
344
342
345
343
if not buildinfo :
346
- if is_pr :
347
- buildinfo = libraries .get_random_prd ()
348
- else :
349
- buildinfo = libraries .get_random_cdm ()
344
+ buildinfo = libraries .get_random_cdm ()
350
345
351
346
blacklist_check (buildinfo , license_url )
352
347
You can’t perform that action at this time.
0 commit comments