fix: rename author to reporter in report system
This commit is contained in:
parent
0689f7af09
commit
8320d55939
2 changed files with 2 additions and 1 deletions
|
|
@ -105,6 +105,7 @@ model Report {
|
||||||
reason ReportReason
|
reason ReportReason
|
||||||
reasonNotes String?
|
reasonNotes String?
|
||||||
|
|
||||||
|
// note: this refers to the person who made the report
|
||||||
authorId Int?
|
authorId Int?
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ export default async function AdminPage() {
|
||||||
<th>Target</th>
|
<th>Target</th>
|
||||||
<th>Reason</th>
|
<th>Reason</th>
|
||||||
<th>Notes</th>
|
<th>Notes</th>
|
||||||
<th>Author</th>
|
<th>Reporter</th>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue