We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a79e3a9 commit 6dbc5a1Copy full SHA for 6dbc5a1
apps/scraper/src/index.ts
@@ -38,7 +38,7 @@ app.get("/", async (c) => {
38
});
39
40
// Endpoint to trigger major discovery scraping
41
-app.post("/api/majors", validateApiKey, async (c) => {
+app.post("/api/programs", validateApiKey, async (c) => {
42
const db = getDB(c.env);
43
44
const programsUrl = new URL("/programs", c.env.SCRAPING_BASE_URL).toString();
packages/server/convex/scraper.ts
@@ -23,7 +23,7 @@ export const triggerMajorsScraping = protectedAdminAction({
23
);
24
}
25
26
- const response = await fetch(`${scraperUrl}/api/majors`, {
+ const response = await fetch(`${scraperUrl}/api/programs`, {
27
method: "POST",
28
headers: {
29
"Content-Type": "application/json",
0 commit comments