From e5725582a82bd18e2274656d3533603d35ba4040 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 6 Feb 2018 23:01:20 +0100 Subject: [PATCH] Fixbug --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 7df1f74..c1a256c 100644 --- a/app.py +++ b/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=''),