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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user