mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-30 03:17:50 +01:00
Fix error
This commit is contained in:
@@ -51,7 +51,7 @@ export default class Post extends BaseModel {
|
|||||||
public contentId: number
|
public contentId: number
|
||||||
|
|
||||||
@belongsTo(() => PostColor, {
|
@belongsTo(() => PostColor, {
|
||||||
foreignKey: 'postColorId'
|
foreignKey: 'colorId'
|
||||||
})
|
})
|
||||||
public color: BelongsTo<typeof PostColor>
|
public color: BelongsTo<typeof PostColor>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user