Delete limit
This commit is contained in:
@@ -2,7 +2,6 @@ const ACTIVITIES_CONFIG = {
|
|||||||
apiBase: "https://openbokeron.uma.es/gitea/api/v1",
|
apiBase: "https://openbokeron.uma.es/gitea/api/v1",
|
||||||
repo: "OpenBokeron/Actividades",
|
repo: "OpenBokeron/Actividades",
|
||||||
state: "open",
|
state: "open",
|
||||||
limit: 9,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ACTIVITY_LABELS = {
|
const ACTIVITY_LABELS = {
|
||||||
@@ -84,7 +83,7 @@ if (container) {
|
|||||||
const labels = LANGUAGE_LABELS[lang];
|
const labels = LANGUAGE_LABELS[lang];
|
||||||
|
|
||||||
const fetchActivities = async () => {
|
const fetchActivities = async () => {
|
||||||
const url = `${ACTIVITIES_CONFIG.apiBase}/repos/${ACTIVITIES_CONFIG.repo}/issues?state=${ACTIVITIES_CONFIG.state}&limit=${ACTIVITIES_CONFIG.limit}`;
|
const url = `${ACTIVITIES_CONFIG.apiBase}/repos/${ACTIVITIES_CONFIG.repo}/issues?state=${ACTIVITIES_CONFIG.state}`;
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
headers: {
|
headers: {
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user