Commits

rgrau committed c51e2b7

typofix

  • Participants
  • Parent commits a6ffefb

Comments (0)

Files changed (1)

File src/controller/cb_tutorial_greeting_controller.erl

 
 pull('GET',  [LastTimestamp]) ->
     {ok, Timestamp, Greetings} = boss_mq:pull("new-greetings", list_to_integer(LastTimestamp)),
-    {json, [{timestamp, 1}, {greetings, Greetings}]}.
+    {json, [{timestamp, Timestamp}, {greetings, Greetings}]}.
 
 live('GET', []) ->
     Greetings = boss_db:find(greeting, []),