mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix: template load issue
This commit is contained in:
parent
5270efa9e5
commit
082d1d15c3
@ -82,7 +82,7 @@ export const getRAGTemplate = async (token: string) => {
|
||||
throw error;
|
||||
}
|
||||
|
||||
return res;
|
||||
return res?.template ?? '';
|
||||
};
|
||||
|
||||
export const updateRAGTemplate = async (token: string, template: string) => {
|
||||
|
Loading…
Reference in New Issue
Block a user