fix(API): #1409 fix wrong prefix for threads api (#1410)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
This commit is contained in:
NamH 2024-01-06 22:35:30 +07:00 committed by GitHub
parent a1e9e0e5f1
commit 112fd4c8fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ export const v1Router = async (app: HttpServer) => {
// MARK: External Routes // MARK: External Routes
app.register(commonRouter) app.register(commonRouter)
app.register(threadRouter, { app.register(threadRouter, {
prefix: '/thread', prefix: '/threads',
}) })
// MARK: Internal Application Routes // MARK: Internal Application Routes