Skip to content

Commit

Permalink
adding disconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
p-shubh committed May 16, 2024
1 parent ce9994f commit 202ff6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions real_time_chat/real.time.chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ func RealtimeChatVoigerConnection() {
if err != nil {
log.Fatal(err)
}
// defer c.Disconnect()

defer c.Disconnect()
dbName := os.Getenv("SUPABASE_DB_NAME")
schema := os.Getenv("SCHEMA")
table := os.Getenv("TABLE")
Expand Down

0 comments on commit 202ff6a

Please sign in to comment.