Skip to content

Commit 0266ada

Browse files
Change roomType to p2p (#859)
* Change roomType to p2p * Fix test
1 parent 5e9f23e commit 0266ada

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.11.2
2+
3+
### Changes
4+
5+
- Change default room type to p2p.
6+
17
## 0.11.1
28

39
### Bugfixes

server/__tests__/createExpressHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('the createExpressHandler function', () => {
3535
expect(context).toEqual({
3636
ACCOUNT_SID: 'mockAccountSid',
3737
CONVERSATIONS_SERVICE_SID: 'mockConversationsServiceSid',
38-
ROOM_TYPE: 'group',
38+
ROOM_TYPE: 'peer-to-peer',
3939
TWILIO_API_KEY_SECRET: 'mockApiKeySecret',
4040
TWILIO_API_KEY_SID: 'mockApiKeySid',
4141
getTwilioClient: expect.any(Function),

server/createExpressHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const context: ServerlessContext = {
2020
ACCOUNT_SID: TWILIO_ACCOUNT_SID,
2121
TWILIO_API_KEY_SID,
2222
TWILIO_API_KEY_SECRET,
23-
ROOM_TYPE: 'group',
23+
ROOM_TYPE: 'peer-to-peer',
2424
CONVERSATIONS_SERVICE_SID: TWILIO_CONVERSATIONS_SERVICE_SID,
2525
getTwilioClient: () => twilioClient,
2626
};

0 commit comments

Comments
 (0)