mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 10:09:59 +00:00
Minor API fixes
This commit is contained in:
@@ -85,7 +85,7 @@ export default {
|
||||
|
||||
// Already initialized
|
||||
if (apiConfig) {
|
||||
errorCallback(new Error_(ErrorCode.RECEIVER_UNAVAILABLE));
|
||||
errorCallback(new Error_(ErrorCode.INVALID_PARAMETER));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -239,8 +239,8 @@ onMessage(message => {
|
||||
subject: "popup:/close"
|
||||
});
|
||||
|
||||
apiConfig.sessionListener(session);
|
||||
sessionRequestInProgress = false;
|
||||
|
||||
sessionSuccessCallback(
|
||||
session
|
||||
, message.data.selectedMedia);
|
||||
|
||||
Reference in New Issue
Block a user