Skip to content

Commit

Permalink
n-sfw.com fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 committed Jan 3, 2025
1 parent 23a3149 commit c3a0202
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion AnimeGen/APIs Requests/n-sfw.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extension ViewController {

guard let data = data,
let jsonResponse = try? JSONSerialization.jsonObject(with: data, options: []) as? [String: Any],
let imageUrlString = jsonResponse["url"] as? String else {
let imageUrlString = jsonResponse["url_usa"] as? String else {
print("Invalid image data or missing response headers")
DispatchQueue.main.async {
self.stopLoadingIndicator()
Expand Down

0 comments on commit c3a0202

Please sign in to comment.