Remove unused query
This commit is contained in:
@@ -277,12 +277,6 @@ func AddToOutbox(iri string, itemData []byte, typeString string, isLiveNotificat
|
||||
return tx.Commit()
|
||||
}
|
||||
|
||||
// GetObjectByID will return a string representation of a single object by the ID.
|
||||
func GetObjectByID(id string) (string, error) {
|
||||
value, err := _datastore.GetQueries().GetObjectFromOutboxByID(context.Background(), id)
|
||||
return string(value), err
|
||||
}
|
||||
|
||||
// GetObjectByIRI will return a string representation of a single object by the IRI.
|
||||
func GetObjectByIRI(iri string) (string, bool, time.Time, error) {
|
||||
row, err := _datastore.GetQueries().GetObjectFromOutboxByIRI(context.Background(), iri)
|
||||
|
||||
Reference in New Issue
Block a user