Skip to content

Commit 897531a

Browse files
committed
chore: correct name
1 parent f45f509 commit 897531a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/PlayroomKit/PlayroomKit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public void GetDiscordEntitlements(Action<List<DiscordEntitlement>> callback)
372372
_playroomService.GetDiscordEntitlements(callback);
373373
}
374374

375-
public void DiscordPriceFormat(float price, string currency, string locale, Action<string> callback)
375+
public void DiscordFormatPrice(float price, string currency, string locale, Action<string> callback)
376376
{
377377
CheckPlayRoomInitialized();
378378
_playroomService.DiscordPriceFormat(price, currency, locale, callback);

Assets/Scripts/GameManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private void Update()
198198
discordSkus.ForEach((sku) =>
199199
{
200200
Debug.LogWarning($"{sku.Name}: {sku.Price.Amount}, {sku.Price.Currency}");
201-
playroomKit.DiscordPriceFormat(sku.Price.Amount, sku.Price.Currency, "en-US", (formattedPrice) => text.text += $"{sku.Name} - {formattedPrice}");
201+
playroomKit.DiscordFormatPrice(sku.Price.Amount, sku.Price.Currency, "en-US", (formattedPrice) => text.text += $"{sku.Name} - {formattedPrice}");
202202
});
203203
}
204204

0 commit comments

Comments
 (0)