Skip to content

Commit 801d711

Browse files
fix: linter errors
1 parent 71009ef commit 801d711

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

src/endpoints/account.ts

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,11 +1131,11 @@ class Account extends BaseExtend {
11311131
* @returns {AxiosResponse<CollectionWithCursor<FavoritesData>>} Contains the data:
11321132
* ```typescript
11331133
* {
1134-
* "collection": [{
1135-
* "media_id": "awWEFyPu",
1136-
* "created_at": 1532425425
1137-
* }],
1138-
* "cursor": "https://services.inplayer.com/v2/accounts/media/favorites?cursor=Ksm34SUn3j23j3"
1134+
* "collection": [{
1135+
* "media_id": "awWEFyPu",
1136+
* "created_at": 1532425425
1137+
* }],
1138+
* "cursor": "https://services.inplayer.com/v2/accounts/media/favorites?cursor=Ksm34SUn3j23j3"
11391139
* }
11401140
* ```
11411141
*/
@@ -1163,9 +1163,9 @@ class Account extends BaseExtend {
11631163
* @returns {AxiosResponse<FavoritesData>} Contains the data:
11641164
* ```typescript
11651165
* {
1166-
* "media_id": "awWEFyPu",
1167-
* "created_at": 1532425425
1168-
* }
1166+
* "media_id": "awWEFyPu",
1167+
* "created_at": 1532425425
1168+
* }
11691169
* ```
11701170
*/
11711171
async getFavorite(mediaId: string): Promise<AxiosResponse<FavoritesData>> {
@@ -1190,9 +1190,9 @@ class Account extends BaseExtend {
11901190
* @returns {AxiosResponse<FavoritesData>} Contains the data:
11911191
* ```typescript
11921192
* {
1193-
* "media_id": "awWEFyPu",
1194-
* "created_at": 1532425425
1195-
* }
1193+
* "media_id": "awWEFyPu",
1194+
* "created_at": 1532425425
1195+
* }
11961196
* ```
11971197
*/
11981198
async addToFavorites(mediaId: string): Promise<AxiosResponse<FavoritesData>> {
@@ -1221,9 +1221,9 @@ class Account extends BaseExtend {
12211221
* @returns {AxiosResponse<CommonResponse>} Contains the data:
12221222
* ```typescript
12231223
* {
1224-
* "message": "Media item has been successfully removed from favorites.",
1225-
* "code": 200
1226-
* }
1224+
* "message": "Media item has been successfully removed from favorites.",
1225+
* "code": 200
1226+
* }
12271227
* ```
12281228
*/
12291229
async deleteFromFavorites(
@@ -1242,7 +1242,8 @@ class Account extends BaseExtend {
12421242
/**
12431243
* Returns the viewer's watchlist history
12441244
* @method getWatchHistory
1245-
* @param {string} filter the filter can be one of all, watched or currently_watching. The default is: currently_watching
1245+
* @param {string} filter the filter can be one of all, watched or currently_watching.
1246+
* The default is: currently_watching
12461247
* @param {string} cursor the url for the next page of the results
12471248
* @async
12481249
* @example
@@ -1252,13 +1253,13 @@ class Account extends BaseExtend {
12521253
* @returns {CollectionWithCursor<WatchlistHistoryData>} Contains the data:
12531254
* ```typescript
12541255
* {
1255-
* "collection": [{
1256-
* "media_id": "awWEFyPu",
1256+
* "collection": [{
1257+
* "media_id": "awWEFyPu",
12571258
* "progress": 0.8577555,
1258-
* "created_at": 1532425425,
1259+
* "created_at": 1532425425,
12591260
* "updated_at": 1532425425
1260-
* }],
1261-
* "cursor": "https://services.inplayer.com/v2/accounts/media/watchlist-history?cursor=Ksm34SUn3j23j3"
1261+
* }],
1262+
* "cursor": "https://services.inplayer.com/v2/accounts/media/watchlist-history?cursor=Ksm34S"
12621263
* }
12631264
* ```
12641265
*/
@@ -1292,11 +1293,11 @@ class Account extends BaseExtend {
12921293
* @returns {AxiosResponse<WatchlistHistoryData>} Contains the data:
12931294
* ```typescript
12941295
* {
1295-
* "media_id": "awWEFyPu",
1296+
* "media_id": "awWEFyPu",
12961297
* "progress": 0.4848484444,
1297-
* "created_at": 1532425425,
1298+
* "created_at": 1532425425,
12981299
* "updated_at": 1532425425
1299-
* }
1300+
* }
13001301
* ```
13011302
*/
13021303
async getWatchHistoryForItem(
@@ -1324,11 +1325,11 @@ class Account extends BaseExtend {
13241325
* @returns {AxiosResponse<WatchlistHistoryData>} Contains the data:
13251326
* ```typescript
13261327
* {
1327-
* "media_id": "awWEFyPu",
1328+
* "media_id": "awWEFyPu",
13281329
* "progress": 0.3434444,
1329-
* "created_at": 1532425425,
1330+
* "created_at": 1532425425,
13301331
* "updated_at": 1532434467
1331-
* }
1332+
* }
13321333
* ```
13331334
*/
13341335
async updateWatchHistory(
@@ -1360,9 +1361,9 @@ class Account extends BaseExtend {
13601361
* @returns {AxiosResponse<CommonResponse>} Contains the data:
13611362
* ```typescript
13621363
* {
1363-
* "message": "Media item has been successfully removed from the list.",
1364-
* "code": 200
1365-
* }
1364+
* "message": "Media item has been successfully removed from the list.",
1365+
* "code": 200
1366+
* }
13661367
* ```
13671368
*/
13681369
async deleteWatchHistoryForItem(

0 commit comments

Comments
 (0)