mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
run pre-commit hooks
This commit is contained in:
@@ -44,7 +44,7 @@ export default async function credentialedProxyHandler(req, res, map) {
|
||||
"tailscale",
|
||||
"tandoor",
|
||||
"pterodactyl",
|
||||
"vikunja",
|
||||
"vikunja",
|
||||
].includes(widget.type)
|
||||
) {
|
||||
headers.Authorization = `Bearer ${widget.key}`;
|
||||
|
||||
@@ -9,7 +9,7 @@ const widget = {
|
||||
projects: {
|
||||
endpoint: "projects",
|
||||
map: (data) => ({
|
||||
projects: jsonArrayFilter(data, (item) => !item.isArchived).length,
|
||||
projects: jsonArrayFilter(data, (item) => !item.isArchived).length,
|
||||
}),
|
||||
},
|
||||
tasks: {
|
||||
@@ -17,7 +17,7 @@ const widget = {
|
||||
// TODO: use filter (and other params?) to allow customizing fields/blocks
|
||||
params: ["filter"],
|
||||
map: (data) => ({
|
||||
tasks: jsonArrayFilter(data, (item) => !item.done).length,
|
||||
tasks: jsonArrayFilter(data, (item) => !item.done).length,
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user