Skip to content

Commit

Permalink
Fix database announcement command
Browse files Browse the repository at this point in the history
  • Loading branch information
dhelonious committed Jun 25, 2024
1 parent f407ff3 commit 578003c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/mastodon.env
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ update_backup_dir_file() {
}

mastodon_announcement() {
psql.wrapper -c "insert into announcements (text, created_at, updated_at, published) values ('$1', now(), now(), '${2:-f}');"
psql.wrapper -d $MASTODON_DBNAME -c "insert into announcements (text, created_at, updated_at, published) values ('$1', now(), now(), '${2:-f}');"
}

0 comments on commit 578003c

Please sign in to comment.