* builds with echo now instead of gin * beginning of web UI * factor out util functions
This commit is contained in:
@@ -58,5 +58,7 @@ func (ti *TootIngester) storeToot(t *toot.Toot) {
|
||||
if ti.storageBackend == nil {
|
||||
panic("no storage backend")
|
||||
}
|
||||
ti.storageBackend.StoreToot(t)
|
||||
if !ti.storageBackend.TootExists(t) {
|
||||
ti.storageBackend.StoreToot(t)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user