accounts-frontend/src/services/api/mfa.js

10 lines
250 B
JavaScript
Raw Normal View History

// @flow
import request from 'services/request';
import type { Resp } from 'services/request';
export default {
getSecret(): Promise<Resp<{qr: string, secret: string, uri: string}>> {
return request.get('/api/two-factor-auth');
}
};