mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-03-05 20:50:21 +00:00
fix: change games service to return list ordered by datestamp desc
This commit is contained in:
parent
248f8a4687
commit
928bf1812c
1 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ export class GamesService {
|
|||
skip: offset,
|
||||
take: returnMaxLimit,
|
||||
order: {
|
||||
gameId: 'DESC'
|
||||
datestamp: 'DESC'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ export class GamesService {
|
|||
skip: offset,
|
||||
take: returnMaxLimit,
|
||||
order: {
|
||||
gameId: 'DESC'
|
||||
datestamp: 'DESC'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ export class GamesService {
|
|||
skip: offset,
|
||||
take: returnMaxLimit,
|
||||
order: {
|
||||
gameId: 'DESC'
|
||||
datestamp: 'DESC'
|
||||
}
|
||||
});
|
||||
if (!games.length) {
|
||||
|
|
@ -96,7 +96,7 @@ export class GamesService {
|
|||
skip: offset,
|
||||
take: returnMaxLimit,
|
||||
order: {
|
||||
gameId: 'DESC'
|
||||
datestamp: 'DESC'
|
||||
}
|
||||
});
|
||||
if (!games.length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue