Chore: template update
This commit is contained in:
		| @@ -40,11 +40,11 @@ func HandleCreateRoom(w http.ResponseWriter, r *http.Request) { | ||||
| 	} | ||||
| 	fi.State.RoomID = &room.ID | ||||
| 	fi.Room = room | ||||
| 	if err := repo.RoomCreate(r.Context(), room); err != nil { | ||||
| 		log.Error("failed to create a room", "error", err) | ||||
| 		abortWithError(w, err.Error()) | ||||
| 		return | ||||
| 	} | ||||
| 	// if err := repo.RoomCreate(r.Context(), room); err != nil { | ||||
| 	// 	log.Error("failed to create a room", "error", err) | ||||
| 	// 	abortWithError(w, err.Error()) | ||||
| 	// 	return | ||||
| 	// } | ||||
| 	if err := repo.PlayerSetRoomID(r.Context(), fi.State.Username, room.ID); err != nil { | ||||
| 		log.Error("failed to set room id", "error", err) | ||||
| 		abortWithError(w, err.Error()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder