Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit a5edf79

Browse files
committed
chore(showcase): update doubleloop
1 parent 00aca18 commit a5edf79

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

scripts/get-showcases.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,20 @@ const downloadImage = (source, target) => {
2222
const { results } = await notion.databases.query({
2323
database_id: SHOWCASES_DATABASE_ID,
2424
filter: {
25-
property: 'published',
26-
checkbox: {
27-
equals: true,
28-
},
25+
and: [
26+
{
27+
property: 'published',
28+
checkbox: {
29+
equals: true,
30+
},
31+
},
32+
{
33+
property: 'library',
34+
rich_text: {
35+
equals: 'react',
36+
},
37+
},
38+
],
2939
},
3040
sorts: [
3141
{

0 commit comments

Comments
 (0)