Skip to content

Commit

Permalink
refactor: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
barabobBOB committed Dec 10, 2023
1 parent a7143a8 commit 53bcf85
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/postgres/sos_post_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ func (s *SosPostPostgresStore) WriteSosPost(authorID int, utcDateStart string, u
request.ImageIDs[0],
).Scan(&sosPost.ID, &sosPost.AuthorID, &sosPost.Title, &sosPost.Content, &sosPost.Reward, &sosPost.DateStartAt, &sosPost.DateEndAt, &sosPost.TimeStartAt, &sosPost.TimeEndAt, &sosPost.CareType, &sosPost.CarerGender, &sosPost.RewardAmount, &sosPost.ThumbnailID)

fmt.Println(sosPost.DateStartAt)
fmt.Println(sosPost.DateEndAt)
fmt.Println(sosPost.TimeStartAt)
if err != nil {
tx.Rollback()
return nil, err
Expand Down

0 comments on commit 53bcf85

Please sign in to comment.