fix for this horrific bug (#1295)
This commit is contained in:
		
							parent
							
								
									3587e1ac9c
								
							
						
					
					
						commit
						c359ebe85c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -159,7 +159,7 @@ export const viewerTeamsRouter = createProtectedRouter() | ||||||
| 
 | 
 | ||||||
|       await ctx.prisma.membership.delete({ |       await ctx.prisma.membership.delete({ | ||||||
|         where: { |         where: { | ||||||
|           userId_teamId: { userId: ctx.user?.id, teamId: input.teamId }, |           userId_teamId: { userId: input.memberId, teamId: input.teamId }, | ||||||
|         }, |         }, | ||||||
|       }); |       }); | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jamie Pine
						Jamie Pine