Commit 053bd78 1 parent 3cd5e96 commit 053bd78 Copy full SHA for 053bd78
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 31
31
}
32
32
33
33
const handleSearch = async () => {
34
- await fetch (` https://saavn.dev/api/search/ ?query=${ searchText} ` )
34
+ await fetch (` https://saavn.dev/api/search?query=${ searchText} ` )
35
35
.then ((response ) => response .json ())
36
36
.then ((data ) => {
37
37
searchResultStore .set (data .data );
Original file line number Diff line number Diff line change 50
50
}
51
51
52
52
const handleSearch = async () => {
53
- await fetch (` https://saavn.dev/api/search/ ?query=${ searchText} ` )
53
+ await fetch (` https://saavn.dev/api/search?query=${ searchText} ` )
54
54
.then ((response ) => response .json ())
55
55
.then ((data ) => {
56
56
console .log (" Data -" , data);
Original file line number Diff line number Diff line change 28
28
}
29
29
30
30
const handleSearch = async () => {
31
- await fetch (` https://saavn.dev/api/search/ ?query=${ searchText} ` )
31
+ await fetch (` https://saavn.dev/api/search?query=${ searchText} ` )
32
32
.then ((response ) => response .json ())
33
33
.then ((data ) => {
34
34
searchResultStore .set (data .data );
You can’t perform that action at this time.
0 commit comments