First merge from develop to main (WIP) #7

Merged
sugar merged 199 commits from develop into main 2026-01-27 17:47:07 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit bd8eecbc7d - Show all commits

View File

@@ -18,7 +18,7 @@ func JWTAuth() gin.HandlerFunc {
return
}
if err == nil && uid == "" {
if uid == "" {
c.Set("user_id", "")
c.Next()
return

View File

@@ -83,7 +83,7 @@ func CheckinSubmit(c *gin.Context) {
c.ShouldBindJSON(&req)
attendanceData := new(data.Attendance)
err := attendanceData.VerifyCheckinCode(req.ChekinCode)
err = attendanceData.VerifyCheckinCode(req.ChekinCode)
if err != nil {
c.JSON(400, gin.H{
"status": "error verify checkin code",