Merge branch 'master' into person_renderbox_thirdparty_onthefly

This commit is contained in:
2021-09-23 13:56:28 +02:00
129 changed files with 4150 additions and 1615 deletions

View File

@@ -0,0 +1,17 @@
const fetchScopes = () => {
return window.fetch('/api/1.0/main/scope.json').then(response => {
if (response.ok) {
return response.json();
}
}).then(data => {
console.log(data);
return new Promise((resolve, reject) => {
console.log(data);
resolve(data.results);
});
});
};
export {
fetchScopes
};