Skip to content

Commit e4eee81

Browse files
committed
fix: update project fetching query
1 parent 73f8d9a commit e4eee81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

updateProject.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ async function updateProjects() {
112112
headers: { "Content-Type": "application/json" },
113113
body: JSON.stringify({
114114
query: `query getCurrentProjects {
115-
foss_projects(filter: {project_type: { _eq: "current" }}) {
115+
foss_projects(filter: { _and: [
116+
{ project_type: { _eq: "current" }},
117+
{ status: { _eq: "published" }}
118+
]}) {
116119
id,
117120
title,
118121
short_description,

0 commit comments

Comments
 (0)