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:
Drew DeVault 2022-03-30 10:10:47 +02:00
parent baad258c05
commit bb414aae31
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ func (ev *Event) Alias() string {
}
func (ev *Event) Table() string {
return `"event"`
return "event"
}
func (ev *Event) Fields() *database.ModelFields {