Fixbug
This commit is contained in:
parent
9675dd0bf2
commit
e5725582a8
2
app.py
2
app.py
@ -47,7 +47,7 @@ users_schema = UserSchema(many=True)
|
||||
class NoticeSchema(ma.Schema):
|
||||
class Meta:
|
||||
# Fields to expose
|
||||
fields = ('title', 'link', 'user_id', '_links')
|
||||
fields = ('title', 'url', 'user_id', '_links')
|
||||
|
||||
_links = ma.Hyperlinks({
|
||||
'comments': ma.URLFor('comments', id='<id>'),
|
||||
|
Loading…
Reference in New Issue
Block a user