mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
🔖 fix: URI Encoding for Bookmarks (#4172)
* fix: never defined AcceptTermsMutationOptions * fix: lack of URI encoding in tag mutations
This commit is contained in:
parent
be44caaab1
commit
44458d3832
4 changed files with 14 additions and 4 deletions
|
|
@ -208,7 +208,8 @@ export const updatePromptPermissions = (roleName: string) =>
|
|||
`${roles()}/${roleName.toLowerCase()}/prompts`;
|
||||
|
||||
/* Conversation Tags */
|
||||
export const conversationTags = (tag?: string) => `/api/tags${tag ? `/${tag}` : ''}`;
|
||||
export const conversationTags = (tag?: string) =>
|
||||
`/api/tags${tag != null && tag ? `/${encodeURIComponent(tag)}` : ''}`;
|
||||
|
||||
export const conversationTagsList = (pageNumber: string, sort?: string, order?: string) =>
|
||||
`${conversationTags()}/list?pageNumber=${pageNumber}${sort ? `&sort=${sort}` : ''}${
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue