Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/guest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class GuestUser implements NextcloudUser {

}

let currentUser: GuestUser | undefined
let currentUser: NextcloudUser | undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed but works

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seemed cleaner 👍


/**
* Get the currently Guest user or null if not logged in
*/
export function getGuestUser(): GuestUser {
export function getGuestUser(): NextcloudUser {
if (!currentUser) {
currentUser = new GuestUser()
}
Expand Down