@router.patch('/{user_id}', name='users:update', status_code=status.HTTP_204_NO_CONTENT)
async def update_user_grid(user_id: int, updated_user: UserUpdate, current_user: UserPrivate=Depends(get_current_user)) -> None:
    try:
        syft_user_messages.update_user(user_id, current_user, updated_user)
    except Exception as err:
        logger.error(err)
        raise_generic_private_error()
@router.patch('/{user_id}', name='users:update', status_code=status.HTTP_204_NO_CONTENT)
async def update_user_grid(user_id: int, updated_user: UserUpdate, current_user: UserPrivate=Depends(get_current_user)) -> None:
    try:
        syft_user_messages.update_user(user_id, current_user, updated_user)
    except Exception as err:
        logger.error(err)
        raise_generic_private_error()