switched to using api tokens instead of login credentials
This commit is contained in:
parent
86f273d12d
commit
226caf4c1e
13 changed files with 215 additions and 85 deletions
|
|
@ -16,6 +16,7 @@ const ServerSearch = ({ searchTerm, server }: ServerSearchProps) => {
|
|||
search(searchTerm, server.id).then(results => {
|
||||
setSearchResults(results);
|
||||
}).catch(err => {
|
||||
setSearchResults([]);
|
||||
alert(err);
|
||||
})
|
||||
}, [searchTerm]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue