fixt another memberOne and Two type
This commit is contained in:
parent
a57859aef0
commit
01b41845b3
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user