Merge remote-tracking branch 'runelite/master' into 2308-merge
This commit is contained in:
@@ -53,13 +53,13 @@ public class LootTrackerClient
|
||||
|
||||
private final UUID uuid;
|
||||
|
||||
public void submit(LootRecord lootRecord)
|
||||
public void submit(Collection<LootRecord> lootRecords)
|
||||
{
|
||||
HttpUrl url = RuneLiteAPI.getApiBase().newBuilder()
|
||||
.addPathSegment("loottracker")
|
||||
.build();
|
||||
|
||||
RequestBody body = RequestBody.Companion.create(GSON.toJson(lootRecord), JSON);
|
||||
RequestBody body = RequestBody.Companion.create(GSON.toJson(lootRecords), JSON);
|
||||
Request request = new Request.Builder()
|
||||
.header(RuneLiteAPI.RUNELITE_AUTH, uuid.toString())
|
||||
.post(body)
|
||||
|
||||
Reference in New Issue
Block a user