aboutsummaryrefslogtreecommitdiff
path: root/db/database.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-07 21:21:38 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitf7bf818d29393ceaccf4d2906557351fa6a4f49f (patch)
tree723e542c8cf0db1e7e64923718977138db77b58d /db/database.go
parent3c5eebf6275e6d202f8a7b7f027aabcda5c1f332 (diff)
added error func and general cleanup/organization
Diffstat (limited to 'db/database.go')
-rw-r--r--db/database.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/database.go b/db/database.go
index e92eec5..5d53f46 100644
--- a/db/database.go
+++ b/db/database.go
@@ -658,7 +658,7 @@ func DeleteObjectRequest(id string) error {
return err
}
- obj, err := activitypub.GetObjectFromPath(id)
+ obj, err := nObj.GetFromPath()
if err != nil {
return err
}