Minor status updates (#6889)

This commit is contained in:
Joram Wilander
2017-07-10 14:49:43 -04:00
committed by Saturnino Abril
parent 87e62e8823
commit 2bfd7be8d1
2 changed files with 5 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
app.SetStatusOnline(c.Session.UserId, c.Session.Id, false)
w.WriteHeader(http.StatusCreated)
w.Write([]byte(rp.ToJson()))
}