mirror of
				https://github.com/elyby/chrly.git
				synced 2025-05-31 14:11:51 +05:30 
			
		
		
		
	Quick fix for production data inconsistency
This commit is contained in:
		| @@ -73,6 +73,12 @@ func findByUsername(ctx context.Context, conn radix.Conn, username string) (*mod | ||||
| 		return nil, err | ||||
| 	} | ||||
|  | ||||
| 	// Some old data causing issues in the production. | ||||
| 	// TODO: remove after investigation will be finished | ||||
| 	if skin.Uuid == "" { | ||||
| 		return nil, nil | ||||
| 	} | ||||
|  | ||||
| 	skin.OldUsername = skin.Username | ||||
|  | ||||
| 	return skin, nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user