mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04: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';
|
import {DataTypes} from 'sequelize';
|
||||||
|
|
||||||
|
|
||||||
function createAutorModel(sequelize) {
|
function createAuthorModel(sequelize) {
|
||||||
const Author = sequelize.define('Author', {
|
const Author = sequelize.define('Author', {
|
||||||
id: {
|
id: {
|
||||||
type: DataTypes.INTEGER,
|
type: DataTypes.INTEGER,
|
||||||
|
@ -41,4 +40,4 @@ function createAutorModel(sequelize) {
|
||||||
return Author
|
return Author
|
||||||
}
|
}
|
||||||
|
|
||||||
export = createAutorModel
|
export = createAuthorModel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue