hotfix: temporarily remove private message reports
This commit is contained in:
1 parent
ee91f0496f
commit
948d912659
1 file changed
+1
-5
@@ -33,22 +33,18 @@ export async function load({ url }) {
|
||||
unresolved_only: type == 'unread',
|
||||
}
|
||||
|
||||
const [posts, comments, messages] = await Promise.all([
|
||||
const [posts, comments] = await Promise.all([
|
||||
client.listPostReports({
|
||||
...params,
|
||||
}),
|
||||
client.listCommentReports({
|
||||
...params,
|
||||
}),
|
||||
client.listPrivateMessageReports({
|
||||
...params,
|
||||
}),
|
||||
])
|
||||
|
||||
const everything = [
|
||||
...posts.post_reports,
|
||||
...comments.comment_reports,
|
||||
...messages.private_message_reports,
|
||||
].sort(
|
||||
(a, b) => Date.parse(getItemPublished(b)) - Date.parse(getItemPublished(a))
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user