Fix comment in activitypub.go

This commit is contained in:
Matt Baer 2024-12-01 18:30:32 -05:00
parent 6b4179fa01
commit eca7bcda0a
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ func handleFetchCollectionInbox(app *App, w http.ResponseWriter, r *http.Request
remoteUserID, err = apAddRemoteUser(app, t, fullActor) remoteUserID, err = apAddRemoteUser(app, t, fullActor)
} }
// Add follow // Remove like
_, err = t.Exec("DELETE FROM remote_likes WHERE post_id = ? AND remote_user_id = ?", unlikePostID, remoteUserID) _, err = t.Exec("DELETE FROM remote_likes WHERE post_id = ? AND remote_user_id = ?", unlikePostID, remoteUserID)
if err != nil { if err != nil {
t.Rollback() t.Rollback()