fix api typo
This commit is contained in:
1 parent
b59b6a17f4
commit
e47b3eecf2
1 file changed
+1
-1
@@ -57,7 +57,7 @@ export class SearchHandling extends React.Component<Props, state> {
|
|||||||
* @param keyword The keyword to search for
|
* @param keyword The keyword to search for
|
||||||
*/
|
*/
|
||||||
searchVideos(keyword: string): void {
|
searchVideos(keyword: string): void {
|
||||||
callAPI(APINode.Video, {action: 'getSearchKeyWord', keyword: keyword}, (result: VideoTypes.VideoUnloadedType[]) => {
|
callAPI(APINode.Video, {action: 'getSearchKeyWord', KeyWord: keyword}, (result: VideoTypes.VideoUnloadedType[]) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
data: result
|
data: result
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user