We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09020ae commit fce57b6Copy full SHA for fce57b6
src/utils/helpers.ts
@@ -66,7 +66,7 @@ const addHours = (date: string, hours: number) =>
66
new Date(new Date(date).getTime() + hours * 36e5).toISOString();
67
68
const queryString = (repo: string, title: string, lastUpdated: string) =>
69
- `${title} in:title repo:${repo} -updated:<${addHours(lastUpdated, -2)}`;
+ `${title} in:title repo:${repo} updated:>${addHours(lastUpdated, -2)}`;
70
71
export async function getDiscussionUrl(
72
notification: Notification,
@@ -89,7 +89,7 @@ export async function getDiscussionUrl(
89
}
90
91
92
- }`,
+ }`
93
});
94
let edges = response?.data?.data?.search?.edges?.filter(
95
edge => edge.node.title === notification.subject.title
0 commit comments