mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
chore: adjust webhook migration to sort webhooks properly
This commit is contained in:
parent
35b92f13a3
commit
97b15006fd
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ function findUsersWithWebhooks () {
|
|||
};
|
||||
|
||||
return webhook;
|
||||
}).sort((a, b) => {
|
||||
return a.sort - b.sort;
|
||||
});
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue