mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
Fix tool and prompt description update not calling API
The issue was that toolService.ts and promptService.ts were setting Authorization: Bearer header manually, but the backend expects the x-auth-token header. The auth interceptor already handles adding x-auth-token automatically, so the fix is to remove the manual header and let the interceptor do its job. Co-authored-by: samanhappy <2755122+samanhappy@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"tools": {
|
||||
"amap-maps_regeocode": {
|
||||
"enabled": true,
|
||||
"description": "My custom description"
|
||||
"description": "Updated via UI test"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user