🐛 fix(API/index.ts): update examples API URL to use the 'main' branch instead of 'fix_examples' branch

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-14 09:16:15 -03:00
commit 3effba2dbd

View file

@ -76,7 +76,7 @@ export async function postValidatePrompt(
*/
export async function getExamples(): Promise<FlowType[]> {
const url =
"https://api.github.com/repos/logspace-ai/langflow_examples/contents/examples?ref=fix_examples";
"https://api.github.com/repos/logspace-ai/langflow_examples/contents/examples?ref=main";
const response = await axios.get(url);
const jsonFiles = response.data.filter((file: any) => {