Fix incorrect declarations
This commit is contained in:
parent
963049e4c8
commit
ccf55e1955
|
@ -1,4 +1,4 @@
|
|||
const BooksController = require('../controllers/books');
|
||||
const BooksController = require('../controllers/bookData');
|
||||
|
||||
async function routes(fastify, options) {
|
||||
fastify.get('/api/books', async (request, reply) => {
|
||||
|
|
|
@ -49,10 +49,10 @@ module.exports = sequelize => sequelize.define('Follow', {
|
|||
}, {
|
||||
indexes: [
|
||||
{
|
||||
fields: ['follower', 'domain'],
|
||||
fields: ['follower', 'followerDomain'],
|
||||
},
|
||||
{
|
||||
fields: ['following', 'domain'],
|
||||
fields: ['following', 'followingDomain'],
|
||||
},
|
||||
],
|
||||
scopes: {
|
||||
|
|
Loading…
Reference in New Issue