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