fix: compile failure issue

This commit is contained in:
CMK 2022-11-04 13:28:09 +08:00
parent eb86b5a9d8
commit a7cbbc0239
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ extension ReportViewModel {
#else
let _ = try await context.apiService.report(
query: query,
authenticationBox: authenticationBox
authenticationBox: authContext.mastodonAuthenticationBox
)
#endif
isReportSuccess = true

View File

@ -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> {