Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetsky committed Oct 11, 2024
1 parent 1da0867 commit 8373607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/AsuraScans/AsuraScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ const AS_API_DOMAIN = 'https://gg.asuracomic.net'


export const AsuraScansInfo: SourceInfo = {
version: '4.3.0',
version: '4.3.1',
name: 'AsuraScans',
description: 'Extension that pulls manga from AsuraScans',
author: 'Seyden',
author: 'Seyden & Netsky',
authorWebsite: 'https://github.com/Seyden',
icon: 'icon.png',
contentRating: ContentRating.MATURE,
Expand Down Expand Up @@ -123,7 +123,6 @@ export class AsuraScans implements ChapterProviding, HomePageSectionsProviding,
}

async getHomePageSections(sectionCallback: (section: HomeSection) => void): Promise<void> {
console.log('homepage soup')
const request = App.createRequest({
url: AS_DOMAIN,
method: 'GET'
Expand Down Expand Up @@ -167,7 +166,6 @@ export class AsuraScans implements ChapterProviding, HomePageSectionsProviding,
}

async getSearchTags(): Promise<TagSection[]> {
console.log('search tag soup')
try {
const request = App.createRequest({
url: `${AS_API_DOMAIN}/api/series/filters`,
Expand Down
2 changes: 0 additions & 2 deletions src/MangaDex/MangaDexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,8 @@ const authRequestCache: Record<string, Promise<any | undefined>> = {}

export function authEndpointRequest(requestManager: RequestManager, endpoint: 'login' | 'refresh' | 'logout', payload: any) {
if (authRequestCache[endpoint] == undefined) {
console.log('started request')
authRequestCache[endpoint] = _authEndpointRequest(requestManager, endpoint, payload).finally(() => {
delete authRequestCache[endpoint]
console.log('completed request')
})
}

Expand Down

0 comments on commit 8373607

Please sign in to comment.