diff --git a/backend/pkg/web/handler/source.go b/backend/pkg/web/handler/source.go index 5aad6047f..6c60350a0 100644 --- a/backend/pkg/web/handler/source.go +++ b/backend/pkg/web/handler/source.go @@ -346,5 +346,6 @@ func SyncSourceResources(c context.Context, logger *logrus.Entry, databaseRepo d // func GetBackgroundContext(ginContext *gin.Context) context.Context { + //TODO: this should be a background context return context.WithValue(ginContext.Request.Context(), pkg.ContextKeyTypeAuthUsername, ginContext.Value(pkg.ContextKeyTypeAuthUsername).(string)) }