Skip to content

Commit 896fd00

Browse files
committed
fix: sync table with database
1 parent be699cc commit 896fd00

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1 class="page-title">Home</h1>
4646

4747

4848

49-
<h3>starify-discord 1.0.0-alpha</h3>
49+
<h3>starify-discord 1.0.1-alpha</h3>
5050

5151

5252

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "starify-discord",
3-
"version": "1.0.0-alpha",
3+
"version": "1.0.1-alpha",
44
"description": "Customizable framework to create and manage starboards with discord.js",
55
"main": "src/index.js",
66
"scripts": {

src/StarboardsManager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class StarboardsManager extends EventEmitter {
8383
*/
8484
async _init() {
8585

86+
await this.starboardsDB.sync();
87+
8688
const starboards = await this.starboardsDB.findAll();
8789

8890
for (const starboard of starboards)

0 commit comments

Comments
 (0)