-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API Boiler plate, Removed smoothscroll.js
- Loading branch information
1 parent
0f4aa3f
commit 3d6d8e0
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,4 @@ jobs: | |
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
tag: v1.5.5.1 | ||
tag: v1.5.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const API = { | ||
// Get all proj | ||
async getAllPosts() { | ||
const response = await fetch( | ||
"" | ||
); | ||
const data = await response.json(); | ||
return data; | ||
}, | ||
// Get proj via id | ||
async getPostById(id) { | ||
const response = await fetch( | ||
`` | ||
); | ||
const data = await response.json(); | ||
return data; | ||
}, | ||
}; |
Empty file.