Commit 7428068 1 parent 847686f commit 7428068 Copy full SHA for 7428068
File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import client from './client'
2
2
3
3
const getAllChatflowsMarketplaces = ( ) => client . get ( '/marketplaces/chatflows' )
4
+ const getAllChatflowsMarketplacesNew = ( ) => client . get ( '/marketplaces/templates' )
4
5
const getAllToolsMarketplaces = ( ) => client . get ( '/marketplaces/tools' )
5
6
const getAllTemplatesFromMarketplaces = ( ) => client . get ( '/marketplaces/templates' )
6
7
7
8
export default {
8
9
getAllChatflowsMarketplaces,
9
10
getAllToolsMarketplaces,
10
- getAllTemplatesFromMarketplaces
11
+ getAllTemplatesFromMarketplaces,
12
+ getAllChatflowsMarketplacesNew
11
13
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const SimpleHub = () => {
21
21
const [ isChatflowsLoading , setChatflowsLoading ] = useState ( true )
22
22
const [ images , setImages ] = useState ( { } )
23
23
24
- const getAllChatflowsMarketplacesApi = useApi ( marketplacesApi . getAllChatflowsMarketplaces )
24
+ const getAllChatflowsMarketplacesApi = useApi ( marketplacesApi . getAllChatflowsMarketplacesNew )
25
25
26
26
useEffect ( ( ) => {
27
27
getAllChatflowsMarketplacesApi . request ( )
You can’t perform that action at this time.
0 commit comments