mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
67f70357a5
MIGRATE!
25 lines
460 B
JavaScript
25 lines
460 B
JavaScript
'use strict';
|
|
|
|
import requests from '../../../../utils/requests';
|
|
|
|
|
|
let PrizeJuryFetcher = {
|
|
fetch() {
|
|
return requests.get('jurys');
|
|
},
|
|
|
|
activate(email) {
|
|
return requests.post('jury_activate', {'email': email});
|
|
},
|
|
|
|
delete(email) {
|
|
return requests.delete('jury', {'email': email});
|
|
},
|
|
|
|
resend(email) {
|
|
return requests.post('jury_resend', {'email': email});
|
|
}
|
|
};
|
|
|
|
export default PrizeJuryFetcher;
|