fix: nodejs endpoint

pull/20/head
金伟强 3 years ago
parent bcbdbed352
commit bb525472b8

@ -17,7 +17,7 @@ const routes = {
},
createChatMessage: {
method: 'POST',
url: () => `/chat-message`,
url: () => `/chat-messages`,
},
getConversationMessages: {
method: 'GET',

@ -1,6 +1,6 @@
{
"name": "dify-client",
"version": "1.0.2",
"version": "1.0.3",
"description": "This is the Node.js SDK for the Dify.AI API, which allows you to easily integrate Dify.AI into your Node.js applications.",
"main": "index.js",
"type": "module",

Loading…
Cancel
Save