Skip to content

Commit

Permalink
Update waifu-im.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 authored Mar 4, 2025
1 parent afc3cac commit dd1fce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnimeGen/Sources/waifu-im.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import UIKit

extension ViewController {
func fetchImageFromWaifuIm() {
let url = URL(string: "https://api.waifu.im/search?is_nsfw=true")!
let url = URL(string: "https://api.waifu.im/search?is_nsfw=false")!

let task = URLSession.custom.dataTask(with: url) { [weak self] (data, response, error) in

Check notice on line 14 in AnimeGen/Sources/waifu-im.swift

View check run for this annotation

codefactor.io / CodeFactor

AnimeGen/Sources/waifu-im.swift#L14

Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
guard let self = self else { return }
Expand Down

0 comments on commit dd1fce6

Please sign in to comment.