mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
Add v5 API
This commit is contained in:
@@ -35,7 +35,7 @@ interface QueryOptions<T> {
|
||||
| undefined;
|
||||
}
|
||||
|
||||
const apiRoot = window.Sonarr.apiRoot;
|
||||
const apiRoot = '/api/v5'; // window.Sonarr.apiRoot;
|
||||
|
||||
function useApiQuery<T>(options: QueryOptions<T>) {
|
||||
const { path, headers } = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user