File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ $( '#{{ config.components.actions[1].id }}' ).click( function() {
161161 // disable development releases
162162 var authorization = $ (this).val ();
163163 var ratingReq = new XMLHttpRequest();
164- ratingReq.open (" POST" , " {{ metadata.endpoint }} " );
164+ ratingReq.open (" POST" , get_api_url() );
165165 ratingReq.setRequestHeader (" Content-Type" , " application/json;charset=UTF-8" );
166- ratingReq.setRequestHeader (" Authorization" , get_api_url() );
166+ ratingReq.setRequestHeader (" Authorization" , authorization );
167167 ratingReq.onload = function () {
168168 status = ratingReq.status ;
169169 $ ('#{{ config.components.actions [1].id }}').removeClass ('btn-primary');
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class Report:
100100 ... dirs_exist_ok=True,
101101 ... )
102102 >>> REPORT_BASELINE_LENGTH = 41770
103- >>> RATING_WIDGET_LENGTH = 83710
103+ >>> RATING_WIDGET_LENGTH = 83698
104104
105105
106106 Examples
You can’t perform that action at this time.
0 commit comments