We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NextcloudUser
GuestUser
1 parent 42ebe14 commit 7d6db0eCopy full SHA for 7d6db0e
1 file changed
lib/guest.ts
@@ -37,12 +37,12 @@ class GuestUser implements NextcloudUser {
37
38
}
39
40
-let currentUser: GuestUser | undefined
+let currentUser: NextcloudUser | undefined
41
42
/**
43
* Get the currently Guest user or null if not logged in
44
*/
45
-export function getGuestUser(): GuestUser {
+export function getGuestUser(): NextcloudUser {
46
if (!currentUser) {
47
currentUser = new GuestUser()
48
0 commit comments