mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 02:30:11 +00:00
lint
This commit is contained in:
parent
be89f907a0
commit
b25d5f1b67
4 changed files with 7 additions and 6 deletions
|
|
@ -22,7 +22,8 @@ public partial class ModelRepository
|
||||||
|
|
||||||
// todo: this might break with differently scoped autoproxy
|
// todo: this might break with differently scoped autoproxy
|
||||||
public async Task<AutoproxySettings> GetAutoproxySettings(SystemId system, ulong? guildId, ulong? channelId)
|
public async Task<AutoproxySettings> GetAutoproxySettings(SystemId system, ulong? guildId, ulong? channelId)
|
||||||
=> await _db.QueryFirst<AutoproxySettings>(new Query("autoproxy").AsInsert(new {
|
=> await _db.QueryFirst<AutoproxySettings>(new Query("autoproxy").AsInsert(new
|
||||||
|
{
|
||||||
system = system,
|
system = system,
|
||||||
guild_id = guildId ?? 0,
|
guild_id = guildId ?? 0,
|
||||||
channel_id = channelId ?? 0,
|
channel_id = channelId ?? 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue