mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-10 17:58:02 +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,
|
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…
Reference in New Issue
Block a user