Fix: test; limit changes on player update
This commit is contained in:
		| @@ -90,16 +90,15 @@ type Team struct { | ||||
| } | ||||
|  | ||||
| type Action struct { | ||||
| 	ID            uint32    `json:"id" db:"id"` | ||||
| 	RoomID        string    `json:"room_id" db:"room_id"` | ||||
| 	Actor         string    `json:"actor" db:"actor"` | ||||
| 	ActorColor    string    `json:"actor_color" db:"actor_color"` | ||||
| 	Action        string    `json:"action_type" db:"action_type"` | ||||
| 	Word          string    `json:"word" db:"word"` | ||||
| 	WordColor     string    `json:"word_color" db:"word_color"` | ||||
| 	Number        string    `json:"number_associated" db:"number_associated"` | ||||
| 	CreatedAt     time.Time `json:"created_at" db:"-"` | ||||
| 	CreatedAtUnix int64     `db:"created_at"` | ||||
| 	ID         uint32    `json:"id" db:"id"` | ||||
| 	RoomID     string    `json:"room_id" db:"room_id"` | ||||
| 	Actor      string    `json:"actor" db:"actor"` | ||||
| 	ActorColor string    `json:"actor_color" db:"actor_color"` | ||||
| 	Action     string    `json:"action_type" db:"action_type"` | ||||
| 	Word       string    `json:"word" db:"word"` | ||||
| 	WordColor  string    `json:"word_color" db:"word_color"` | ||||
| 	Number     string    `json:"number_associated" db:"number_associated"` | ||||
| 	CreatedAt  time.Time `json:"created_at" db:"created_at"` | ||||
| } | ||||
|  | ||||
| type Player struct { | ||||
| @@ -126,8 +125,9 @@ type BotPlayer struct { | ||||
| } | ||||
|  | ||||
| type CardMark struct { | ||||
| 	Username string | ||||
| 	Active   bool | ||||
| 	CardID   uint32 `db:"card_id"` | ||||
| 	Username string `db:"username"` | ||||
| 	Active   bool   `db:"active"` | ||||
| } | ||||
|  | ||||
| type Room struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder