Skip to content

Commit

Permalink
Fix extraction script
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Jul 25, 2023
1 parent 090853b commit 96100af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/extract_all_pub_dev.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import 'package:pub/src/log.dart' as log;
const statusFilename = 'extract_all_pub_status.json';

Future<List<String>> allPackageNames() async {
var nextUrl = Uri.https('pub.dev', 'api/packages?compact=1');
var nextUrl = Uri.https('pub.dev', 'api/packages', {'compact': '1'});
final request = http.Request('GET', nextUrl);
request.attachMetadataHeaders();
final response = await globalHttpClient.fetch(request);
Expand Down

0 comments on commit 96100af

Please sign in to comment.