Skip to content

Commit

Permalink
Fix parameters of "reportAsAbuse"
Browse files Browse the repository at this point in the history
  • Loading branch information
YuigaWada committed Apr 7, 2020
1 parent 6a41fb8 commit b1f466e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MisskeyKit/APIs/Wrapper/HTTP/Users.swift
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ extension MisskeyKit {


//MARK:- User Report
public func reportAsAbuse(userIds: [String], comment: String, result callback: @escaping BooleanCallBack) {
public func reportAsAbuse(userId: String, comment: String, result callback: @escaping BooleanCallBack) {

var params = ["userId":userIds,
var params = ["userId":userId,
"comment":comment] as [String : Any]

params = params.removeRedundant()
Expand Down

0 comments on commit b1f466e

Please sign in to comment.