forked from React-Group/interstellar_ai
general fixes
This commit is contained in:
parent
281d786c19
commit
885b838704
7 changed files with 66 additions and 23 deletions
|
@ -13,7 +13,8 @@ export const getWeather = async (data: object): Promise<string> => {
|
|||
const status = response.data.status;
|
||||
const success = response.data.response;
|
||||
postMessage({ status, success });
|
||||
return success;
|
||||
console.log(JSON.stringify(success))
|
||||
return JSON.stringify(success);
|
||||
} catch (error) {
|
||||
postMessage({ status: 500, success: false });
|
||||
console.log(error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue