mirror of
				https://github.com/arcan1s/ffxivbis.git
				synced 2025-10-30 21:23:41 +00:00 
			
		
		
		
	less conversions
This commit is contained in:
		| @ -68,11 +68,11 @@ class Ariyala extends Actor with StrictLogging { | |||||||
|  |  | ||||||
|     sendRequest(uriForItems, Ariyala.parseXivapiJsonToShop).flatMap { shops => |     sendRequest(uriForItems, Ariyala.parseXivapiJsonToShop).flatMap { shops => | ||||||
|       val shopIds = shops.values.map(_._2).toSet |       val shopIds = shops.values.map(_._2).toSet | ||||||
|       val columns = shops.values.map(pair => s"ItemCost${pair._1}").toSet.toSeq |       val columns = shops.values.map(pair => s"ItemCost${pair._1}").toSet | ||||||
|       val uriForShops = Uri(xivapiUrl) |       val uriForShops = Uri(xivapiUrl) | ||||||
|         .withPath(Uri.Path / "specialshop") |         .withPath(Uri.Path / "specialshop") | ||||||
|         .withQuery(Uri.Query(Map( |         .withQuery(Uri.Query(Map( | ||||||
|           "columns" -> (columns :+ "ID").mkString(","), |           "columns" -> (columns + "ID").mkString(","), | ||||||
|           "ids" -> shopIds.mkString(","), |           "ids" -> shopIds.mkString(","), | ||||||
|           "private_key" -> xivapiKey.getOrElse("") |           "private_key" -> xivapiKey.getOrElse("") | ||||||
|         ))) |         ))) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user