adding route for the getting of conversation details

This commit is contained in:
talksik
2022-03-19 10:39:19 -04:00
parent 3bf3c586d1
commit 50c37776fd
15 changed files with 205 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ async function getUserDetails(req: Request, res: Response) {
try {
// return user details if it passed auth middleware
const user = await UserService.getUserById(userId);
const user = await UserService.getUserByGoogleId(userId);
// if no user found, then go ahead and create user
if (!user) {