Move away from dbmate, use PolySchema

This commit is contained in:
Jamie Curnow committed 2026-09-28 11:31:27 +10:00
1 parent 52399c42f1
commit 2a14f3f84c
99 files changed
+1583 -1691

No files matched your search

+1 -1
View File
@@ -231,7 +231,7 @@ func RefreshToken() func(http.ResponseWriter, *http.Request) {
// Route: POST /auth/sse
func NewSSEToken() func(http.ResponseWriter, *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
userID := r.Context().Value(c.UserIDCtxKey).(uint)
userID, _ := r.Context().Value(c.UserIDCtxKey).(uint)
// Find user
userObj, userErr := user.GetByID(userID)