fix: nodejs endpoint (#20)

This commit is contained in:
Joel 2023-05-15 16:57:05 +08:00 committed by GitHub
parent 805da40b15
commit c2e7fe107a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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",