User
{
where: {
followerId: 2,
followingId: 1,
? id?: Int,
? AND?: FollowWhereInput | FollowWhereInput[],
? OR?: FollowWhereInput[],
? NOT?: FollowWhereInput | FollowWhereInput[],
? follower?: UsersRelationFilter | UsersWhereInput,
? following?: UsersRelationFilter | UsersWhereInput
}
}
Argument `where` of type FollowWhereUniqueInput needs at least one of `id` arguments. Available options are listed in green.
findUnique는 키값을 where절에 넣어주지 않으면 못 찾더라...
delete나 update도 마찬가지.
findFirst로 수정해서 해결함
follow/unfollow 페이지를 구현했다.