new apihandler mechanics to allow asynchronous api calls
document some api nodes with apidoc
This commit is contained in:
1 parent
da07dc04bd
commit
31ad6ec1e5
14 files changed
+1105
-163
No files matched your search
@@ -59,7 +59,7 @@ export class HomePage extends React.Component<Props, state> {
|
||||
* @param tag tag to fetch videos
|
||||
*/
|
||||
fetchVideoData(tag: number): void {
|
||||
callAPI(APINode.Video, {action: 'getMovies', tag: tag}, (result: VideoTypes.VideoUnloadedType[]) => {
|
||||
callAPI(APINode.Video, {action: 'getMovies', Tag: tag}, (result: VideoTypes.VideoUnloadedType[]) => {
|
||||
this.setState({
|
||||
data: []
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user