Skip to content

Commit fce57b6

Browse files
committed
lint
1 parent 09020ae commit fce57b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/helpers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const addHours = (date: string, hours: number) =>
6666
new Date(new Date(date).getTime() + hours * 36e5).toISOString();
6767

6868
const queryString = (repo: string, title: string, lastUpdated: string) =>
69-
`${title} in:title repo:${repo} -updated:<${addHours(lastUpdated, -2)}`;
69+
`${title} in:title repo:${repo} updated:>${addHours(lastUpdated, -2)}`;
7070

7171
export async function getDiscussionUrl(
7272
notification: Notification,
@@ -89,7 +89,7 @@ export async function getDiscussionUrl(
8989
}
9090
}
9191
}
92-
}`,
92+
}`
9393
});
9494
let edges = response?.data?.data?.search?.edges?.filter(
9595
edge => edge.node.title === notification.subject.title

0 commit comments

Comments
 (0)