All files / client/methods userinfo.js

100% Statements 2/2
100% Branches 0/0
100% Functions 2/2
100% Lines 2/2
1 2 3 4 5 6 7 8 9 10          12x   1x    
/* @flow */
 
import type { MethodApi } from '../types';
 
export default ({ client }: MethodApi) =>
  (): Promise<Object> => {
 
    return client.api('userinfo');
  };