API: Fix table name for event
The extra quoting here is unnecessary, it's done elsewhere. Fixes: https://todo.sr.ht/~sircmpwn/todo.sr.ht/268
This commit is contained in:
parent
baad258c05
commit
bb414aae31
|
@ -219,7 +219,7 @@ func (ev *Event) Alias() string {
|
|||
}
|
||||
|
||||
func (ev *Event) Table() string {
|
||||
return `"event"`
|
||||
return "event"
|
||||
}
|
||||
|
||||
func (ev *Event) Fields() *database.ModelFields {
|
||||
|
|
Loading…
Reference in New Issue