Fix missing response in AS. (#10559)
This commit is contained in:
		
							parent
							
								
									d4cfc1a070
								
							
						
					
					
						commit
						f2b5691e0e
					
				@ -6,7 +6,7 @@ ext {
 | 
			
		||||
    extName = 'Argos Scan'
 | 
			
		||||
    pkgNameSuffix = 'pt.argosscan'
 | 
			
		||||
    extClass = '.ArgosScan'
 | 
			
		||||
    extVersionCode = 19
 | 
			
		||||
    extVersionCode = 20
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
 | 
			
		||||
@ -24,6 +24,7 @@ import kotlinx.serialization.json.decodeFromJsonElement
 | 
			
		||||
import kotlinx.serialization.json.jsonArray
 | 
			
		||||
import kotlinx.serialization.json.jsonObject
 | 
			
		||||
import kotlinx.serialization.json.jsonPrimitive
 | 
			
		||||
import okhttp3.Headers
 | 
			
		||||
import okhttp3.Interceptor
 | 
			
		||||
import okhttp3.MediaType.Companion.toMediaTypeOrNull
 | 
			
		||||
import okhttp3.OkHttpClient
 | 
			
		||||
@ -65,6 +66,9 @@ class ArgosScan : HttpSource(), ConfigurableSource {
 | 
			
		||||
 | 
			
		||||
    private var token: String? = null
 | 
			
		||||
 | 
			
		||||
    override fun headersBuilder(): Headers.Builder = Headers.Builder()
 | 
			
		||||
        .add("Token", "")
 | 
			
		||||
 | 
			
		||||
    private fun genericMangaFromObject(project: ArgosProjectDto): SManga = SManga.create().apply {
 | 
			
		||||
        title = project.name!!
 | 
			
		||||
        url = "/obras/${project.id}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user