Skip to content

Commit

Permalink
Update DPG fetch URL in consolidate_data.js
Browse files Browse the repository at this point in the history
Changed the data source URL to fetch migrated DPGs from the correct endpoint. This ensures we are accessing the latest data from the new app's API.
  • Loading branch information
law909 committed Oct 23, 2024
1 parent 77cad37 commit 0477308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/automation/consolidate_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ var missingRepoActivity = [];

async function start() {
// Fetch all migrated DPGs from new app api at https://app.digitalpublicgoods.net/api/dpgs
let dpgjson = await fetch("https://api.digitalpublicgoods.net/dpgs");
//let dpgjson = await fetch("https://api.digitalpublicgoods.net/dpgs");
let dpgjson = await fetch("https://app.digitalpublicgoods.net/api/dpgs");
dpgjson = await dpgjson.json();

const dpgs = [...dpgjson];
Expand Down

0 comments on commit 0477308

Please sign in to comment.