Skip to content

Commit c2a7bc7

Browse files
authored
Update AssetService:SearchAudio method with correct error "got" type (#819)
## Changes Currently, the doocumentation for the `AssetService:SearchAudio` method incorrectly states that the error for when `SearchKeyword` is moderated is "Unexpected type for data, expected array got void"; instead this error actually states that the got type is "null" (IE: "Unexpected type for data, expected array got null"). This can be verified by running relevant code in Studio. ## Checks By submitting your pull request for review, you agree to the following: - [X] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [X] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [X] To the best of my knowledge, all proposed changes are accurate.
1 parent 86e0565 commit c2a7bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en-us/reference/engine/classes/AssetService.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ methods:
461461
<td><code>Class.AssetService:SearchAudio()</code> has been called too many times.</td>
462462
</tr>
463463
<tr>
464-
<td>Unexpected type for data, expected array got void</td>
464+
<td>Unexpected type for data, expected array got null</td>
465465
<td>The keyword argument was filtered.</td>
466466
</tr>
467467
</tbody>

0 commit comments

Comments
 (0)