vn-verdnaturachat/app/lib/rocketchat/services/getUserInfo.ts

7 lines
139 B
TypeScript

import sdk from './sdk';
export default function getUserInfo(userId: string) {
// RC 0.48.0
return sdk.get('users.info', { userId });
}