mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-31 15:33:44 +00:00
this was stupid
This commit is contained in:
parent
2c1fa76266
commit
2ac9f90b57
@ -59,6 +59,9 @@ namespace CompatBot.Database.Providers
|
||||
|
||||
public static string GetTitleName(string productCode)
|
||||
{
|
||||
if (string.IsNullOrEmpty(productCode))
|
||||
return null;
|
||||
|
||||
using (var db = new ThumbnailDb())
|
||||
{
|
||||
var thumb = db.Thumbnail.FirstOrDefault(t => t.ProductCode == productCode.ToUpperInvariant());
|
||||
|
Loading…
x
Reference in New Issue
Block a user