Skip to content
Snippets Groups Projects

Create Report show page, link Mod Log references to the respective report

Merged Angelina Filippova requested to merge feature/link-to-report into develop
10 files
+ 478
170
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 9
0
@@ -24,6 +24,15 @@ export async function fetchReports(filter, page, pageSize, authHost, token) {
})
}
export async function fetchSingleReport(id, authHost, token) {
return await request({
baseURL: baseName(authHost),
url: `/api/pleroma/admin/reports/${id}`,
method: 'get',
headers: authHeaders(token)
})
}
export async function createNote(content, reportID, authHost, token) {
return await request({
baseURL: baseName(authHost),
Loading