mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 02:41:35 +00:00
fix: undo stupid copilot edits
This commit is contained in:
parent
ce57e2ba5e
commit
a76b3b8323
1 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ class User extends Model {
|
||||||
download: true,
|
download: true,
|
||||||
update: type === 'root' || type === 'admin',
|
update: type === 'root' || type === 'admin',
|
||||||
delete: type === 'root',
|
delete: type === 'root',
|
||||||
upload: type === 'root' || type === 'admin' || type === 'user',
|
upload: type === 'root' || type === 'admin',
|
||||||
createEreader: type === 'root' || type === 'admin',
|
createEreader: type === 'root' || type === 'admin',
|
||||||
accessAllLibraries: true,
|
accessAllLibraries: true,
|
||||||
accessAllTags: true,
|
accessAllTags: true,
|
||||||
|
|
@ -477,7 +477,7 @@ class User extends Model {
|
||||||
* User data for clients
|
* User data for clients
|
||||||
* Emitted on socket events user_online, user_offline and user_stream_update
|
* Emitted on socket events user_online, user_offline and user_stream_update
|
||||||
*
|
*
|
||||||
* @param {import('../objects/PlaybackSession')} sessions
|
* @param {import('../objects/PlaybackSession')[]} sessions
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
toJSONForPublic(sessions) {
|
toJSONForPublic(sessions) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue