linting
This commit is contained in:
@ -33,7 +33,7 @@ const notifications = await getNotifications();
|
||||
|
||||
const storeUserData = async (notification: Notification): Promise<void> => {
|
||||
try {
|
||||
const user = await prisma.user.upsert({
|
||||
await prisma.user.upsert({
|
||||
where: { userFqn: notification.status.account.fqn },
|
||||
update: {
|
||||
lastRespondedTo: new Date(Date.now()),
|
||||
@ -116,7 +116,6 @@ const generateOllamaRequest = async (
|
||||
});
|
||||
const ollamaResponse: OllamaResponse = await response.json();
|
||||
await storePromptData(notification, ollamaResponse);
|
||||
// await postReplyToStatus(notification, ollamaResponse);
|
||||
return ollamaResponse;
|
||||
}
|
||||
} catch (error: any) {
|
||||
|
@ -7,6 +7,8 @@
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true
|
||||
|
Reference in New Issue
Block a user