Use System/Info/Public instead of Users/Public to verify server

This commit is contained in:
Shav Kinderlehrer 2023-12-12 17:12:58 -05:00
parent fbb3756746
commit 9ccd37f754
3 changed files with 2 additions and 2 deletions

View File

@ -108,6 +108,7 @@
3D1015D72B27F54A00F5C29A /* Views */ = {
isa = PBXGroup;
children = (
3D9063CC2B279A310063DD2A /* ContentView.swift */,
3D91FDC52B28C28900919017 /* SignIn */,
);
path = Views;
@ -160,7 +161,6 @@
3D1015DF2B27F8EE00F5C29A /* Controllers */,
3D1015D72B27F54A00F5C29A /* Views */,
3D9063CA2B279A310063DD2A /* JelApp.swift */,
3D9063CC2B279A310063DD2A /* ContentView.swift */,
3D9063CE2B279A320063DD2A /* Assets.xcassets */,
3D9063D02B279A320063DD2A /* Jel.entitlements */,
3D9063D12B279A320063DD2A /* Preview Content */,

View File

@ -60,7 +60,7 @@ class JellyfinClientController: ObservableObject {
}
func isJellyfinServer() async -> Bool {
let request = Paths.getPublicUsers
let request = Paths.getPublicSystemInfo
do {
let res = try await api.send(request)
if res.statusCode != 200 {