sdy

update searchUser resolver

......@@ -9,18 +9,18 @@ export default {
where: {
OR: [
{
name_contains: term,
name: { contains: term },
},
{
email_contains: term,
email: { contains: term },
},
],
},
});
} catch (error) {
console.log(error);
}
return null;
}
},
},
};
......