fixt another memberOne and Two type

This commit is contained in:
Bob Burningham 2023-11-12 17:45:20 -08:00
parent a57859aef0
commit 01b41845b3

View File

@ -22,12 +22,12 @@ const findConversation = async (memberOneId: string, memberTwoId: string) => {
], ],
}, },
include: { include: {
MemberOne: { memberOne: {
include: { include: {
profile: true, profile: true,
} }
}, },
MemberTwo: { memberTwo: {
include: { include: {
profile: true, profile: true,
} }
@ -51,12 +51,12 @@ const createNewConversation = async (memberOneId: string, memberTwoId: string) =
memberTwoId, memberTwoId,
}, },
include: { include: {
MemberOne: { memberOne: {
include: { include: {
profile: true, profile: true,
} }
}, },
MemberTwo: { memberTwo: {
include: { include: {
profile: true, profile: true,
} }