Skip to content

Commit

Permalink
Changing specifications for getFlyersBeforeDate and getFlyersAfterDate (
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Agnihotri committed Oct 4, 2023
1 parent bf06c7d commit 5a0de53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/resolvers/FlyerResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class FlyerResolver {

@Query((_returns) => [Flyer], {
nullable: false,
description: `Returns a list of <Flyers> <since> a given date, limited by <limit>.
<since> is formatted as an compliant RFC 2822 timestamp. Valid examples include: "2019-01-31", "Aug 9, 1995", "Wed, 09 Aug 1995 00:00:00", etc. Default <limit> is ${DEFAULT_LIMIT}`,
description: `Returns a list of <Flyers> <since> a given date, limited by <limit>.
<since> must be in UTC ISO8601 format (e.g. YYYY-mm-ddTHH:MM:ssZ). Default <limit> is ${DEFAULT_LIMIT}`,
})
async getFlyersAfterDate(
@Arg('since') since: string,
Expand All @@ -110,8 +110,8 @@ class FlyerResolver {

@Query((_returns) => [Flyer], {
nullable: false,
description: `Returns a list of <Flyers> <before> a given date, limited by <limit>.
<before> is formatted as an compliant RFC 2822 timestamp. Valid examples include: "2019-01-31", "Aug 9, 1995", "Wed, 09 Aug 1995 00:00:00", etc. Default <limit> is ${DEFAULT_LIMIT}`,
description: `Returns a list of <Flyers> <before> a given date, limited by <limit>.
<before> must be in UTC ISO8601 format (e.g. YYYY-mm-ddTHH:MM:ssZ). Default <limit> is ${DEFAULT_LIMIT}`,
})
async getFlyersBeforeDate(
@Arg('before') before: string,
Expand Down

0 comments on commit 5a0de53

Please sign in to comment.