mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-29 02:50:27 +01:00
Add localKey
This commit is contained in:
@@ -14,7 +14,7 @@ export default class Announce extends BaseModel {
|
|||||||
public hoverColor: string
|
public hoverColor: string
|
||||||
|
|
||||||
@belongsTo(() => Translation, {
|
@belongsTo(() => Translation, {
|
||||||
localKey: 'id'
|
localKey: 'messageId'
|
||||||
})
|
})
|
||||||
public message: BelongsTo<typeof Translation>
|
public message: BelongsTo<typeof Translation>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user