feat: updated docs and added description to files
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package endpoints
|
||||
|
||||
// this endpoint served at "/team/presence" shows the presence page
|
||||
|
||||
import (
|
||||
"arbeitszeitmessung/helper"
|
||||
"arbeitszeitmessung/models"
|
||||
@@ -8,7 +10,7 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func TeamPresenceHandler(w http.ResponseWriter, r *http.Request) {
|
||||
func PresenceHandler(w http.ResponseWriter, r *http.Request) {
|
||||
helper.RequiresLogin(Session, w, r)
|
||||
helper.SetCors(w)
|
||||
switch r.Method {
|
||||
|
||||
Reference in New Issue
Block a user