mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-17 23:01:38 +00:00
no print only logger
This commit is contained in:
parent
7bace8936d
commit
5dfacc8db4
2 changed files with 2 additions and 3 deletions
|
|
@ -89,8 +89,7 @@ class AniListMutation {
|
|||
if let data = data {
|
||||
do {
|
||||
let responseJSON = try JSONSerialization.jsonObject(with: data, options: [])
|
||||
print("Successfully updated anime progress")
|
||||
print(responseJSON)
|
||||
Logger.shared.log("Successfully updated anime progress", type: "Debug")
|
||||
completion(.success(()))
|
||||
} catch {
|
||||
completion(.failure(error))
|
||||
|
|
|
|||
|
|
@ -1209,7 +1209,7 @@ class CustomMediaPlayerViewController: UIViewController {
|
|||
guard let self = self,
|
||||
let data = data,
|
||||
let content = String(data: data, encoding: .utf8) else {
|
||||
print("Failed to load m3u8 file")
|
||||
Logger.shared.log("Failed to load m3u8 file")
|
||||
DispatchQueue.main.async {
|
||||
self?.qualities = []
|
||||
completion()
|
||||
|
|
|
|||
Loading…
Reference in a new issue