feat: updated docs and added description to files
Some checks failed
Tests / Run Go Tests (push) Failing after 1m35s
Arbeitszeitmessung Deploy / Build Webserver (push) Successful in 2m48s

This commit is contained in:
2026-01-29 18:28:28 +01:00
parent 41c34c42cf
commit ba034f1c33
52 changed files with 458 additions and 3413 deletions

View File

@@ -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 {