Skip to content

Commit

Permalink
Merge pull request #215 from bounswe/FE-21-Yasin
Browse files Browse the repository at this point in the history
final endpoint name
  • Loading branch information
rukiyeaslan authored May 17, 2024
2 parents c412997 + c34e54a commit f2d4ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/client/src/pages/Main/SearchPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SearchPage = ({ isLoggedIn, setIsLoggedIn }) => {
useEffect(() => {
if (searchQuery) {
// Fetch initial search results
fetch('http://207.154.242.6:8020/docs/query-film-pattern/', {
fetch('http://207.154.242.6:8020/query-film-pattern/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down Expand Up @@ -43,7 +43,7 @@ const SearchPage = ({ isLoggedIn, setIsLoggedIn }) => {
};

// Fetch movie details
return fetch('http://207.154.242.6:8020/docs/get-film-details/', {
return fetch('http://207.154.242.6:8020/get-film-details/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit f2d4ced

Please sign in to comment.