mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
fix: logic failure causing remote posts with image to not parse properly, #13164
This commit is contained in:
@@ -190,7 +190,7 @@ Mocks.post = async (objects) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case image && image.hasOwnProperty('url') && image.url: {
|
case image && image.hasOwnProperty('url') && !!image.url: {
|
||||||
image = image.url;
|
image = image.url;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user