1
0
forked from boos/BoosAPI

fix: address code review findings

- fix(api): use effectiveTokenId in route channel insert to match duplicate detection logic
- fix(css): rename keyframes to kebab-case (filter-bar-slide-down/up)
- fix(web): wrap "保存中..." text with tr() in ManualRoutePanel
- fix(web): use ref for fresh cache check and add error handling in useRouteChannels
This commit is contained in:
Hureru
2026-03-11 15:51:10 +08:00
parent 8128d6e036
commit f5fcf5d707
4 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -539,7 +539,7 @@ export async function tokensRoutes(app: FastifyInstance) {
await db.insert(schema.routeChannels).values({
routeId,
accountId: item.accountId,
tokenId: item.tokenId,
tokenId: effectiveTokenId,
sourceModel: sourceModel || null,
priority: 0,
weight: 10,