mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix api user patch verb does not work (#14358)
### What problem does this PR solve? Fix api user patch verb does not work ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -10,7 +10,7 @@ type Service<T extends string> = Record<
|
||||
(params?: any, urlAppendix?: string) => any
|
||||
>;
|
||||
|
||||
const Methods = ['post', 'delete', 'put'];
|
||||
const Methods = ['post', 'delete', 'put', 'patch'];
|
||||
|
||||
const registerServer = <T extends string>(
|
||||
opt: Record<T, { url: string; method: string }>,
|
||||
|
||||
Reference in New Issue
Block a user