Skip to content

Commit

Permalink
末尾のセミコロンの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
Luftalian committed Jun 15, 2024
1 parent 1892df9 commit 9a98c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/model/date_vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (repo *Repository) CreateDateVotes(votes []DateVote) error {

func (repo *Repository) GetDateVotesByUser(traqID string) ([]DateVoteAndEventID, error) {
dateVoteAndEventID := make([]DateVoteAndEventID, 0)
err := repo.db.Select(&dateVoteAndEventID, "SELECT event_dates.event_id FROM date_votes JOIN event_dates ON date_votes.event_date_id = event_dates.id WHERE date_votes.traq_id = ?;", traqID)
err := repo.db.Select(&dateVoteAndEventID, "SELECT event_dates.event_id FROM date_votes JOIN event_dates ON date_votes.event_date_id = event_dates.id WHERE date_votes.traq_id = ?", traqID)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9a98c88

Please sign in to comment.