mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 05:32:18 +00:00
- Only allow ItemType:Audio from Jellyfin - Fix NavBar for Mobile (Ugly hack but.. TO REWORK) - Fixed registration page issues - Add functionality to pull recent scrobbles to Dashboard - Add MX record lookup validation for emails - Add username validation for a-Z 0-9 _ and . - Dashboard shows basic table of last 500 scrobbles.
18 lines
323 B
JavaScript
18 lines
323 B
JavaScript
import ApiService from "../Services/api.service";
|
|
|
|
export const getStats = () => {
|
|
return ApiService.getStats().then(
|
|
(data) => {
|
|
return data.data;
|
|
}
|
|
);
|
|
};
|
|
|
|
export const getRecentScrobbles = (id) => {
|
|
return ApiService.getRecentScrobbles(id).then(
|
|
(data) => {
|
|
return data.data;
|
|
}
|
|
);
|
|
};
|
|
|