fix(apps): always list my apps ordered by id

This commit is contained in:
Nicolas Meienberger 2023-03-29 20:49:36 +02:00
parent a8738f9f61
commit 75ca6f01f8

View file

@ -354,7 +354,7 @@ export class AppServiceClass {
* @returns {Promise<App[]>} - An array of app objects
*/
public installedApps = async () => {
const apps = await this.prisma.app.findMany();
const apps = await this.prisma.app.findMany({ orderBy: { id: 'asc' } });
return apps
.map((app) => {