Skip to content

Commit 710caf1

Browse files
authored
Removed Rooms API (#180)
1 parent 4b97069 commit 710caf1

5 files changed

Lines changed: 1 addition & 142 deletions

File tree

Server/package-lock.json

Lines changed: 0 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Server/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"morgan": "^1.9.1",
3434
"node-fetch": "2.6.7",
3535
"multer": "1.4.5-lts.1",
36-
"@types/multer": "^1.4.11",
37-
"@azure/communication-rooms": "1.1.0-beta.1 || ^1.1.0"
36+
"@types/multer": "^1.4.11"
3837
},
3938
"devDependencies": {
4039
"@types/cookie-parser": "^1.4.2",

Server/src/app.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import getEndpointUrl from './routes/getEndpointUrl';
1313
import userConfig from './routes/userConfig';
1414
import createThread from './routes/createThread';
1515
import addUser from './routes/addUser';
16-
import createRoom from './routes/createRoom';
17-
import addUserToRoom from './routes/addUserToRoom';
1816
import uploadToAzureBlobStorage from './routes/uploadToAzureBlobStorage';
1917

2018
const app = express();
@@ -60,18 +58,6 @@ app.use('/token', cors(), issueToken);
6058
*/
6159
app.use('/userConfig', cors(), userConfig);
6260

63-
/**
64-
* route: /createRoom
65-
* purpose: Calling: create a new room
66-
*/
67-
app.use('/createRoom', cors(), createRoom);
68-
69-
/**
70-
* route: /addUserToRoom
71-
* purpose: Calling: add user to room with the given role
72-
*/
73-
app.use('/addUserToRoom', cors(), addUserToRoom);
74-
7561
/**
7662
* route: /getLogUploadData
7763
* purpose: Get tokens and endpoints for uploading logs to Azure Blob Storage

Server/src/routes/addUserToRoom.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

Server/src/routes/createRoom.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)