Fix user update API call
This commit is contained in:
		
							parent
							
								
									13486d9988
								
							
						
					
					
						commit
						06f5559ca0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -40,7 +40,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) | |||
|         id: authenticatedUser.id, | ||||
|       }, | ||||
|       data: { | ||||
|         ...pick(req.body, [ | ||||
|         ...pick(req.body.data, [ | ||||
|           "username", | ||||
|           "name", | ||||
|           "avatar", | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bailey Pumfleet
						Bailey Pumfleet