MW placeholder

This commit is contained in:
nquidox 2026-03-02 17:31:15 +03:00
parent 82ea13a104
commit 0f6fd00604
2 changed files with 12 additions and 0 deletions

View file

@ -1 +1,11 @@
package router
import "github.com/gin-gonic/gin"
func authMW() gin.HandlerFunc {
return func(c *gin.Context) {
c.Set("userUuid", "019caeab-aa81-7f09-a220-d7e675300638") //TODO placeholder for dev purposes
c.Next()
}
}