Frontend api function for github contributers.

This commit is contained in:
2021-01-11 19:24:49 +01:00
parent 3e84f0e40f
commit 554257434d

View File

@@ -332,6 +332,11 @@ const getWinnerByName = (name) => {
})
}
const projectContributors = () => {
return fetch("/api/project/contributors")
.then(resp => resp.json())
}
export {
statistics,
colorStatistics,
@@ -365,5 +370,6 @@ export {
postWineChosen,
historyAll,
historyByDate,
getWinnerByName
getWinnerByName,
projectContributors
};