nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests.sh: add NIT_TESTING_ID with the same semantic than with nitunit
[nit.git]
/
contrib
/
tnitter
/
src
/
push.nit
diff --git
a/contrib/tnitter/src/push.nit
b/contrib/tnitter/src/push.nit
index
cdb2945
..
bc47789
100644
(file)
--- a/
contrib/tnitter/src/push.nit
+++ b/
contrib/tnitter/src/push.nit
@@
-46,7
+46,7
@@
redef class DB
# Everyone gets the same response
var posts = list_posts(0, 16)
var response = new HttpResponse(400)
- response.body = posts.to_json_string
+ response.body = posts.serialize_to_json
for conn in push_connections do
# Complete the answer to `conn`