`Invalid `Prisma.member.findFirst()` invocation in...
# mongodb
j
`Invalid
Prisma.member.findFirst()
invocation in`
/Users/jake/Desktop/neo-rewrite/src/utils/functions/clanning.ts:15:30
12 export const getMember = async (Guild: GuildType, Query: number | MemberType | string | APIInteractionGuildMember): Promise<MemberModel | null> => {
13     if (typeof Query === 'string') {
14         const userId = await getIdFromUsername(Query).catch(err => { return 0 })
→ 15            return await Prisma.member.findFirst(
Inconsistent column data: Malformed ObjectID: provided hex string representation must be exactly 12 bytes, instead got: "957114139052998716", length 18.