summaryrefslogtreecommitdiff
path: root/internal/db/bundb/scheduledstatus.go
diff options
context:
space:
mode:
authorLibravatar nicole mikołajczyk <git@mkljczk.pl>2025-08-14 12:17:42 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-08-14 12:17:42 +0200
commit8e76c9ab57de618e40149a2475e83592f7cbd3b8 (patch)
tree100ce447cf56e399025e416ad2eb2eed368ab420 /internal/db/bundb/scheduledstatus.go
parent[feature] support blur filter action (#4371) (diff)
downloadgotosocial-8e76c9ab57de618e40149a2475e83592f7cbd3b8.tar.xz
[chore] return correct error message (#4377)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl> Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4377 Co-authored-by: nicole mikołajczyk <git@mkljczk.pl> Co-committed-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat (limited to 'internal/db/bundb/scheduledstatus.go')
-rw-r--r--internal/db/bundb/scheduledstatus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/scheduledstatus.go b/internal/db/bundb/scheduledstatus.go
index 44cbd0f59..e1e374d4e 100644
--- a/internal/db/bundb/scheduledstatus.go
+++ b/internal/db/bundb/scheduledstatus.go
@@ -272,7 +272,7 @@ func (s *scheduledStatusDB) PutScheduledStatus(ctx context.Context, status *gtsm
if _, err := tx.NewInsert().
Model(status).
Exec(ctx); err != nil {
- return gtserror.Newf("error selecting boosted status: %w", err)
+ return gtserror.Newf("error inserting scheduled status: %w", err)
}
// change the scheduled status ID of the