Skip to content

Commit 7428068

Browse files
committed
minor update
1 parent 847686f commit 7428068

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/ui/src/api/marketplaces.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import client from './client'
22

33
const getAllChatflowsMarketplaces = () => client.get('/marketplaces/chatflows')
4+
const getAllChatflowsMarketplacesNew = () => client.get('/marketplaces/templates')
45
const getAllToolsMarketplaces = () => client.get('/marketplaces/tools')
56
const getAllTemplatesFromMarketplaces = () => client.get('/marketplaces/templates')
67

78
export default {
89
getAllChatflowsMarketplaces,
910
getAllToolsMarketplaces,
10-
getAllTemplatesFromMarketplaces
11+
getAllTemplatesFromMarketplaces,
12+
getAllChatflowsMarketplacesNew
1113
}

packages/ui/src/views/simplehub/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const SimpleHub = () => {
2121
const [isChatflowsLoading, setChatflowsLoading] = useState(true)
2222
const [images, setImages] = useState({})
2323

24-
const getAllChatflowsMarketplacesApi = useApi(marketplacesApi.getAllChatflowsMarketplaces)
24+
const getAllChatflowsMarketplacesApi = useApi(marketplacesApi.getAllChatflowsMarketplacesNew)
2525

2626
useEffect(() => {
2727
getAllChatflowsMarketplacesApi.request()

0 commit comments

Comments
 (0)