Fix: test; limit changes on player update
This commit is contained in:
		| @@ -3,7 +3,6 @@ package repos | ||||
| import ( | ||||
| 	"context" | ||||
| 	"gralias/models" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/jmoiron/sqlx" | ||||
| ) | ||||
| @@ -21,9 +20,6 @@ func (p *RepoProvider) ListActions(ctx context.Context, roomID string) ([]models | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	for i := range actions { | ||||
| 		actions[i].CreatedAt = time.Unix(0, actions[i].CreatedAtUnix) | ||||
| 	} | ||||
| 	return actions, nil | ||||
| } | ||||
|  | ||||
| @@ -39,7 +35,6 @@ func (p *RepoProvider) GetLastClue(ctx context.Context, roomID string) (*models. | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	action.CreatedAt = time.Unix(0, action.CreatedAtUnix) | ||||
| 	return action, nil | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder