mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
Fix typo in Author model
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
f6eec0ce90
commit
f0b1d85ae9
1 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
|||
// external modules
|
||||
import {DataTypes} from 'sequelize';
|
||||
|
||||
|
||||
function createAutorModel(sequelize) {
|
||||
function createAuthorModel(sequelize) {
|
||||
const Author = sequelize.define('Author', {
|
||||
id: {
|
||||
type: DataTypes.INTEGER,
|
||||
|
@ -41,4 +40,4 @@ function createAutorModel(sequelize) {
|
|||
return Author
|
||||
}
|
||||
|
||||
export = createAutorModel
|
||||
export = createAuthorModel
|
||||
|
|
Loading…
Reference in a new issue