RohanVashisht commited on
Commit
0c9c48a
·
verified ·
1 Parent(s): 7a0c529

Update src/index.ts

Browse files
Files changed (1) hide show
  1. src/index.ts +1 -1
src/index.ts CHANGED
@@ -48,7 +48,7 @@ serve({
48
  });
49
  }
50
 
51
- if (pathname === "/api/searchProgams") {
52
  const results = programs.filter(({ full_name, description, topics }) => {
53
  if (filter && !topics?.some((t: string) => t.toLowerCase() === filter))
54
  return false;
 
48
  });
49
  }
50
 
51
+ if (pathname === "/api/searchPrograms") {
52
  const results = programs.filter(({ full_name, description, topics }) => {
53
  if (filter && !topics?.some((t: string) => t.toLowerCase() === filter))
54
  return false;