1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02:00
onion/js/fetchers/notification_fetcher.js
diminator edcd8e57a4 notification app
notification refactor in onion - split by piece/edition
2015-09-03 14:15:00 +02:00

18 lines
328 B
JavaScript

'use strict';
import requests from '../utils/requests';
let NotificationFetcher = {
fetchPieceListNotifications() {
return requests.get('notification_piecelist');
},
fetchEditionListNotifications() {
return requests.get('notification_editionlist');
}
};
export default NotificationFetcher;