Skip to content

Commit

Permalink
Fix ESLint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LkeMitchll committed Mar 24, 2024
1 parent f441394 commit 73b79c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/_providers/bookmarks.js
@@ -1,9 +1,13 @@
import Fetch from '@11ty/eleventy-fetch';

export default class BookmarksAPI {
constructor() {
this.apiEndpoint = `${process.env.BOOKMARKS_URL}/bookmarks?filter=published`;
}

fetchPublishedBookmarks() {
return Fetch(
`${process.env.BOOKMARKS_URL}/bookmarks?filter=published`,
this.apiEndpoint,
{
duration: '1d',
type: 'json',
Expand Down

0 comments on commit 73b79c2

Please sign in to comment.