1 2 3 4 5 6
import $ from 'jquery'; export function getCurrentUser () { let url = baseUrl + '/api/users/current'; return $.get(url); }