1
0
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:
Mark McDowall
2025-01-19 16:20:14 -08:00
parent 15b070119d
commit 5a47f34ef9
15 changed files with 454 additions and 134 deletions
+1 -1
View File
@@ -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(() => {