fixed quoteshow and quoteid commands not working

This commit is contained in:
Toastie (DCS Team) 2024-08-30 19:05:16 +12:00
parent b017c5e805
commit 89ab9a2ceb
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ public interface IQuoteService
Task<IReadOnlyCollection<Quote>> GetGuildQuotesAsync(ulong guildId);
Task<int> RemoveAllByKeyword(ulong guildId, string keyword);
Task<Quote?> GetQuoteByIdAsync(ulong guildId, kwum quoteId);
Task<Quote?> GetQuoteByIdAsync(ulong guildId, int quoteId);
Task<Quote> AddQuoteAsync(
ulong guildId,

View file

@ -121,7 +121,7 @@ public sealed class QuoteService : IQuoteService, IEService
return count;
}
public async Task<Quote?> GetQuoteByIdAsync(ulong guildId, kwum quoteId)
public async Task<Quote?> GetQuoteByIdAsync(ulong guildId, int quoteId)
{
await using var uow = _db.GetDbContext();