fix: compile failure issue
This commit is contained in:
parent
eb86b5a9d8
commit
a7cbbc0239
|
@ -162,7 +162,7 @@ extension ReportViewModel {
|
|||
#else
|
||||
let _ = try await context.apiService.report(
|
||||
query: query,
|
||||
authenticationBox: authenticationBox
|
||||
authenticationBox: authContext.mastodonAuthenticationBox
|
||||
)
|
||||
#endif
|
||||
isReportSuccess = true
|
||||
|
|
|
@ -11,7 +11,7 @@ import Combine
|
|||
|
||||
extension APIService {
|
||||
|
||||
func report(
|
||||
public func report(
|
||||
query: Mastodon.API.Reports.FileReportQuery,
|
||||
authenticationBox: MastodonAuthenticationBox
|
||||
) async throws -> Mastodon.Response.Content<Bool> {
|
||||
|
|
Loading…
Reference in New Issue