mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-19 17:34:43 +00:00
fix: change games service to return list ordered by datestamp desc
This commit is contained in:
parent
248f8a4687
commit
928bf1812c
|
|
@ -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…
Reference in a new issue