Skip to content

Commit

Permalink
fix: config renamed to CoCreateConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Oct 2, 2022
1 parent 78b3748 commit 046348b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ CoCreateWindow.prototype = {

sendWindowBtnEvent: function(type, modal) {
var json = {
apiKey: config.apiKey,
organization_id: config.organization_id,
apiKey: CoCreateConfig.apiKey,
organization_id: CoCreateConfig.organization_id,
broadcastSender: true,
message: 'windowBtnEvent',
data: {
Expand Down Expand Up @@ -209,8 +209,8 @@ CoCreateWindow.prototype = {
}
} else {
message.send({
apiKey: config.apiKey,
organization_id: config.organization_id,
apiKey: CoCreateConfig.apiKey,
organization_id: CoCreateConfig.organization_id,
broadcastSender: true,
message: 'openWindow',
data: attr
Expand Down

0 comments on commit 046348b

Please sign in to comment.