Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaraWeerakoon committed Jan 10, 2025
2 parents cd4c54f + 7f321e0 commit 2649b2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/Meeting_for_contacts/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ meeting:OAuth2RefreshTokenGrantConfig auth = {
};

public function main() returns error? {

string meetingId = "";
final meeting:Client meetingClient = check new ({auth});

//create a meeting associated with the contact
Expand Down Expand Up @@ -66,7 +64,7 @@ public function main() returns error? {

};
meeting:SimplePublicObject meetingResponse = check meetingClient->/.post(createPayload);
meetingId = meetingResponse.id;
string meetingId = meetingResponse.id;
io:println(`A meeting created associated to the contact (contactId:${contactId}) with id ${meetingId}`);

//get created meeting by id
Expand Down

0 comments on commit 2649b2b

Please sign in to comment.