Skip to content

Commit

Permalink
Fetch only published bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
LkeMitchll committed Jun 8, 2022
1 parent f56af85 commit 9a4a3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_data/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = async function bookmarks() {
`${process.env.BOOKMARKS_USER}:${process.env.BOOKMARKS_PASSWORD}`
).toString("base64");

const data = await Cache(`${process.env.BOOKMARKS_URL}/bookmarks`, {
const data = await Cache(`${process.env.BOOKMARKS_URL}/bookmarks?filter=published`, {
duration: "1d",
type: "json",
fetchOptions: {
Expand Down

0 comments on commit 9a4a3d6

Please sign in to comment.