Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot committed Nov 22, 2023
1 parent 5904f05 commit 2595e4c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
6 changes: 0 additions & 6 deletions docs/api/components_data_UserData.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@
return set_user_setting("pref-" + key, value)
end function

sub setActive()
if m.global.session.user.settings["global.rememberme"]
set_setting("active_user", m.top.id)
end if
end sub

sub setServer(hostname as string)
m.top.server = hostname
end sub
Expand Down
2 changes: 1 addition & 1 deletion docs/api/data/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/module-UserData.html

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions docs/api/source_api_userauth.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@

userdata = CreateObject("roSGNode", "UserData")
userdata.json = json

userdata.callFunc("setActive")
userdata.callFunc("saveToRegistry")

return userdata
end function

Expand Down Expand Up @@ -165,8 +164,8 @@
userdata.json = jsonResponse
session.user.Update("id", jsonResponse.User.Id)
session.user.Update("authToken", jsonResponse.AccessToken)
userdata.callFunc("setActive")
userdata.callFunc("saveToRegistry")

return true
end if

Expand Down

0 comments on commit 2595e4c

Please sign in to comment.