|
@@ -321,7 +321,7 @@ class BotManager {
|
|
try {
|
|
try {
|
|
const subscriptions = await Subscription.findAll({
|
|
const subscriptions = await Subscription.findAll({
|
|
where: { isActive: true },
|
|
where: { isActive: true },
|
|
- order: [['createdAt', 'DESC']]
|
|
|
|
|
|
+ order: [['createdAt', 'ASC']]
|
|
});
|
|
});
|
|
|
|
|
|
if (subscriptions.length === 0) {
|
|
if (subscriptions.length === 0) {
|
|
@@ -391,7 +391,7 @@ class BotManager {
|
|
try {
|
|
try {
|
|
const subscriptions = await Subscription.findAll({
|
|
const subscriptions = await Subscription.findAll({
|
|
where: { isActive: true },
|
|
where: { isActive: true },
|
|
- order: [['createdAt', 'DESC']]
|
|
|
|
|
|
+ order: [['createdAt', 'ASC']]
|
|
});
|
|
});
|
|
|
|
|
|
if (subscriptions.length === 0) {
|
|
if (subscriptions.length === 0) {
|