mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
allow accessing admin change pages by .abid as well as .id
This commit is contained in:
parent
cbf2a8fdc3
commit
0c236b034b
3 changed files with 23 additions and 5 deletions
|
@ -78,6 +78,9 @@ class MinimalArchiveResultSchema(Schema):
|
|||
status: str
|
||||
output: str
|
||||
|
||||
start_ts: Optional[datetime]
|
||||
end_ts: Optional[datetime]
|
||||
|
||||
@staticmethod
|
||||
def resolve_created_by_id(obj):
|
||||
return str(obj.created_by_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue