Skip to content

Commit e176162

Browse files
author
lucifer
committed
fix: need return
1 parent 7cde1e8 commit e176162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,6 @@ module.exports = {
320320
secret: process.env.secret,
321321
clientId: "c16b80e7b58a5a007157",
322322
db: userList.reduce((acc, curr) => {
323-
acc[curr.login] = curr;
323+
return (acc[curr.login] = curr);
324324
}, {}),
325325
};

0 commit comments

Comments
 (0)