Skip to content

Commit 54e932e

Browse files
committed
chore: cleanup
1 parent 01e9adf commit 54e932e

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ yarn-error.log*
4141
# Typescript build
4242
dist
4343

44-
infra
44+
infra
45+
46+
.cursorrules

apps/api/src/lib/notifications/issue/status.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
import { prisma } from "../../../prisma";
22

3-
/**
4-
* Creates status change notifications for all ticket followers.
5-
*
6-
* @param {object} ticket - The ticket object
7-
* @param {object} updater - The username of the person who updated the status
8-
* @param {string} newStatus - The new status of the ticket
9-
* @returns {Promise<void>}
10-
*/
113
export async function activeStatusNotification(
124
ticket: any,
135
updater: any,
@@ -41,14 +33,6 @@ export async function activeStatusNotification(
4133
}
4234
}
4335

44-
/**
45-
* Creates status change notifications for all ticket followers.
46-
*
47-
* @param {object} ticket - The ticket object
48-
* @param {object} updater - The username of the person who updated the status
49-
* @param {string} newStatus - The new status of the ticket
50-
* @returns {Promise<void>}
51-
*/
5236
export async function statusUpdateNotification(
5337
ticket: any,
5438
updater: any,

apps/client/components/CreateTicketModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default function CreateTicketModal({ keypress, setKeyPressDown }) {
124124
toast({
125125
variant: "destructive",
126126
title: `Error`,
127-
description: res.error,
127+
description: res.message,
128128
});
129129
}
130130
});

0 commit comments

Comments
 (0)