Skip to content

Commit

Permalink
get -> post
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Aug 27, 2024
1 parent 28df0be commit 1a79013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app/src/server/routes/apiv3/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import { chatHandlersFactory } from './chat';
const router = express.Router();

module.exports = (crowi) => {
router.get('/chat', chatHandlersFactory(crowi));
router.post('/chat', chatHandlersFactory(crowi));
return router;
};

0 comments on commit 1a79013

Please sign in to comment.