fix: template load issue
This commit is contained in:
1 parent
5270efa9e5
commit
082d1d15c3
1 file changed
+1
-1
@@ -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