Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: support archive for posts
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Apr 20, 2020
1 parent 11cdff1 commit 611568e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ type DayModel {
id: ID!
title: String!
pv: Float!
createdAt: String!
createdAt: DateTime!
}

input ExchangePositionInput {
Expand Down
2 changes: 1 addition & 1 deletion src/posts/models/archive.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class DayModel {
public readonly pv: number

@Field()
public readonly createdAt: string
public readonly createdAt: Date
}

@ObjectType()
Expand Down

0 comments on commit 611568e

Please sign in to comment.