mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: bugs
This commit is contained in:
parent
b9b7ce60ce
commit
4ae9aac50e
@ -49,9 +49,7 @@ const fetchMetaData = async (url) => {
|
||||
throw new Error(`HTTP error! Status: ${response.status}`);
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
return data;
|
||||
return response.json();
|
||||
} catch (error) {
|
||||
logger.error(`Error fetching meta data ${error}`);
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user