mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-06 17:51:08 +02:00
fix: undo stupid copilot edits
This commit is contained in:
parent
ce57e2ba5e
commit
a76b3b8323
@ -169,7 +169,7 @@ class User extends Model {
|
||||
download: true,
|
||||
update: type === 'root' || type === 'admin',
|
||||
delete: type === 'root',
|
||||
upload: type === 'root' || type === 'admin' || type === 'user',
|
||||
upload: type === 'root' || type === 'admin',
|
||||
createEreader: type === 'root' || type === 'admin',
|
||||
accessAllLibraries: true,
|
||||
accessAllTags: true,
|
||||
@ -477,7 +477,7 @@ class User extends Model {
|
||||
* User data for clients
|
||||
* Emitted on socket events user_online, user_offline and user_stream_update
|
||||
*
|
||||
* @param {import('../objects/PlaybackSession')} sessions
|
||||
* @param {import('../objects/PlaybackSession')[]} sessions
|
||||
* @returns
|
||||
*/
|
||||
toJSONForPublic(sessions) {
|
||||
|
Loading…
Reference in New Issue
Block a user