Skip to content

Commit

Permalink
fix(security:ModerationRuleHandler): invalid property access on string
Browse files Browse the repository at this point in the history
Signed-off-by: Ar Rakin <[email protected]>
  • Loading branch information
virtual-designer committed Jul 8, 2024
1 parent 1f689fe commit 7f918b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/typescript/services/ImageRecognitionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type ImageLike = string | Buffer | Uint8Array;
type RecognizeResult = {
data: {
text: string;
words: string[];
words: Array<{ text: string }>;
};
};

Expand Down

0 comments on commit 7f918b4

Please sign in to comment.