mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-06 04:45:23 +02:00
Update JS docs
This commit is contained in:
@@ -111,7 +111,7 @@ class Author extends Model {
|
|||||||
*
|
*
|
||||||
* @param {string} name
|
* @param {string} name
|
||||||
* @param {string} libraryId
|
* @param {string} libraryId
|
||||||
* @returns {Promise<Author>}
|
* @returns {Promise<{ author: Author, created: boolean }>}
|
||||||
*/
|
*/
|
||||||
static async findOrCreateByNameAndLibrary(name, libraryId) {
|
static async findOrCreateByNameAndLibrary(name, libraryId) {
|
||||||
const author = await this.getByNameAndLibrary(name, libraryId)
|
const author = await this.getByNameAndLibrary(name, libraryId)
|
||||||
|
|||||||
Reference in New Issue
Block a user