mirror of
https://gitlab.com/Alamantus/Readlebee.git
synced 2025-05-21 17:41:15 +02:00
Fix incorrect declarations
This commit is contained in:
parent
963049e4c8
commit
ccf55e1955
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
const BooksController = require('../controllers/books');
|
const BooksController = require('../controllers/bookData');
|
||||||
|
|
||||||
async function routes(fastify, options) {
|
async function routes(fastify, options) {
|
||||||
fastify.get('/api/books', async (request, reply) => {
|
fastify.get('/api/books', async (request, reply) => {
|
||||||
|
|
|
@ -49,10 +49,10 @@ module.exports = sequelize => sequelize.define('Follow', {
|
||||||
}, {
|
}, {
|
||||||
indexes: [
|
indexes: [
|
||||||
{
|
{
|
||||||
fields: ['follower', 'domain'],
|
fields: ['follower', 'followerDomain'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fields: ['following', 'domain'],
|
fields: ['following', 'followingDomain'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
scopes: {
|
scopes: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue