fix: template load issue
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user