File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
server/supabase/functions Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ app.use("*", cors({
3737 exposeHeaders : [ "Authorization" , "Content-Type" ] ,
3838} ) ) ;
3939
40- app . use ( "*" , authMiddleware ) ;
40+ app . use ( "*" , authMiddleware as any ) ;
4141
4242// Get course by course ID
4343app . get ( "/:course_id" , async ( c : Context < { Variables : UserVariables } > ) => {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ app.use(
2424 } ) ,
2525) ;
2626
27- app . use ( "*" , authMiddleware ) ;
27+ app . use ( "*" , authMiddleware as any ) ;
2828
2929/**
3030 * Retrieves a post using course_id and post_id (both UUID)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ app.use("*", cors({
2525 exposeHeaders : [ "Authorization" , "Content-Type" ] ,
2626} ) ) ;
2727
28- app . use ( "*" , authMiddleware ) ;
28+ app . use ( "*" , authMiddleware as any ) ;
2929
3030// Get all users
3131app . get ( "/" , async ( c ) => {
You can’t perform that action at this time.
0 commit comments