mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-25 14:37:59 +01:00
Fix invalid author ID in alpha beta converter
This commit is contained in:
parent
a5613911bf
commit
03452e1221
2 changed files with 6 additions and 2 deletions
|
@ -129,9 +129,13 @@ class AuthorHandler(Handler):
|
|||
'url',
|
||||
)
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
return int(self.meta['id'])
|
||||
|
||||
@property
|
||||
def url(self):
|
||||
uid = int(self.id)
|
||||
uid = self.id
|
||||
name = urlquote(str(self.name))
|
||||
return f'{HOST}/user/{uid}/{name}'
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"alpha": {
|
||||
"author": {
|
||||
"id": 18,
|
||||
"id": "18",
|
||||
"name": "Sethisto"
|
||||
},
|
||||
"categories": {
|
||||
|
|
Loading…
Reference in a new issue