Skip to content

Commit

Permalink
fix: order by date
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelchris committed Dec 23, 2024
1 parent add6868 commit f8593f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/entity/Feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Column, Entity, Index, ManyToOne, PrimaryColumn } from 'typeorm';
import type { User } from './user';

export enum FeedOrderBy {
Date = 'date',
Upvotes = 'upvotes',
Downvotes = 'downvotes',
Comments = 'comments',
Expand Down

0 comments on commit f8593f4

Please sign in to comment.