feat: finish back-end work (untested)
This commit is contained in:
@@ -33,6 +33,8 @@ func UserInDatabase(pool *pgxpool.Pool) gin.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
log.Printf("%d", count)
|
||||
|
||||
if count == 0 {
|
||||
_, exec_err := conn.Exec(context.Background(), queries.USER_CREATE_QUERY, sub_id, nickname)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user