Skip to content

Commit cb03a65

Browse files
committed
Fix #44 reply to post with mention and not parentOfMention
1 parent 8827b78 commit cb03a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/AskPlantnet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class AskPlantnet {
7878
} = await plantnetApiService.plantnetIdentify(identifyOptions);
7979
if (result === IDENTIFY_RESULT.OK) {
8080
const {scoredResult, firstImageOriginalUrl, firstImageText} = plantnetResult;
81-
return await plantnetCommonService.replyToWithIdentificationResult(parentPost,
81+
return await plantnetCommonService.replyToWithIdentificationResult(candidate,
8282
{tags, doSimulate, context},
8383
{scoredResult, firstImageOriginalUrl, firstImageText}
8484
);

0 commit comments

Comments
 (0)