Frontend: Replace mock Mdm bm API call with real one (#9289)

# Addresses epic #8855 

# Fixes

- Before (mock data):
<img width="730" alt="Screenshot 2023-01-11 at 12 24 11 PM"
src="https://user-images.githubusercontent.com/61553566/211910134-08114f1d-44ae-4d04-b496-02f741c9788c.png">

- After (real data):
<img width="730" alt="Screenshot 2023-01-11 at 12 17 50 PM"
src="https://user-images.githubusercontent.com/61553566/211909450-b6cb90ba-cd1f-4a7d-8ea8-58e3fd1ba7f4.png">

# Checklist for submitter
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2023-01-16 12:11:04 -08:00 committed by GitHub
parent 86b338dbd4
commit 9e8fc8b7aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { sendRequest } from "services/mock_service/service/service"; // MDM TODO: Replace when backend is merged
// import sendRequest from "services";
import sendRequest from "services";
import endpoints from "utilities/endpoints";
export default {