The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/api/server/helpers
Diego Sampaio 7632f12cfc
Chore: Prettier for us all (#24000)
4 years ago
..
README.md
composeRoomWithLastMessage.js [IMPROVE] Don't use regex to find users (#14397) 7 years ago
deprecationWarning.ts Chore: Prettier for us all (#24000) 4 years ago
getLoggedInUser.js Chore: Prettier for us all (#24000) 4 years ago
getPaginationItems.js Chore: Api definitions (#23701) 4 years ago
getUserFromParams.js Regression: Update .invite endpoints to support multiple users at once (#21328) 5 years ago
getUserInfo.js Chore: Prettier for us all (#24000) 4 years ago
insertUserObject.js Chore: Prettier for us all (#24000) 4 years ago
isUserFromParams.js Chore: Prettier for us all (#24000) 4 years ago
isWidget.ts Add default value when no cookies are present (#23318) 4 years ago
parseJsonQuery.js Chore: Prettier for us all (#24000) 4 years ago
requestParams.js

README.md

REST API Helpers

What are they?

Helpers are functions which get injected into the context of this on each request the REST API recieves. This allows for commonly used code, such as retriving the target user, to be placed in one spot and used throughout the entire REST API code base.