mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +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
|
|
@ -863,7 +863,7 @@ export const useUpdateAssistantMutation = (
|
|||
const { endpoint } = data;
|
||||
const endpointsConfig = queryClient.getQueryData<t.TEndpointsConfig>([QueryKeys.endpoints]);
|
||||
const endpointConfig = endpointsConfig?.[endpoint];
|
||||
const version = endpointConfig.version ?? defaultAssistantsVersion[endpoint];
|
||||
const version = endpointConfig?.version ?? defaultAssistantsVersion[endpoint];
|
||||
return dataService.updateAssistant({
|
||||
data,
|
||||
version,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue