Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddionteh committed Feb 8, 2024
1 parent 3fa2272 commit 0602cbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function signUpUser(username, password) {
Points: 0,
};

fetch('https://fedassignmentv2-62c9.restdb.io/rest/user-credentials', {
fetch('https://fedassignmentv2-62c5.restdb.io/rest/user-credentials', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down
4 changes: 2 additions & 2 deletions js/product.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ document.addEventListener("DOMContentLoaded", async () => {
// Function to fetch products from RESTDB API
async function fetchProducts() {
try {
const response = await fetch('https://fedassignmentv2-8d9a.restdb.io/rest/products', {
const response = await fetch('https://fedassignmentv2-62c5.restdb.io/rest/products', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-apikey': '65c0999900d3da120a63a29b ',
'x-apikey': '65c4e3389ec8d460022d98b7',
}
});

Expand Down

0 comments on commit 0602cbb

Please sign in to comment.