feat: implement security enhancements for Jitsi integration, including JWT token generation and automatic blocking of detected attacks, improving system resilience and user authentication
This commit is contained in:
@@ -22,7 +22,7 @@ type ConvexCtx = QueryCtx | MutationCtx | ActionCtx;
|
||||
* Função helper para converter contexto do Convex para GenericCtx do better-auth
|
||||
* Os tipos são estruturalmente compatíveis, apenas há diferença nas definições de tipo
|
||||
*/
|
||||
function toGenericCtx(ctx: ConvexCtx): GenericCtx<DataModel> {
|
||||
export function toGenericCtx(ctx: ConvexCtx): GenericCtx<DataModel> {
|
||||
// Os tipos são estruturalmente idênticos, apenas há diferença nas definições de tipo
|
||||
// entre a versão do Convex usada pelo projeto e a usada pelo @convex-dev/better-auth
|
||||
return ctx as unknown as GenericCtx<DataModel>;
|
||||
|
||||
Reference in New Issue
Block a user