mirror of
https://github.com/Jetsparrow/jetherald.git
synced 2026-01-21 07:56:09 +03:00
Formatting
This commit is contained in:
parent
878eef6485
commit
73e1802cb4
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using MySql.Data.MySqlClient;
|
using MySql.Data.MySqlClient;
|
||||||
using Dapper;
|
using Dapper;
|
||||||
@ -51,7 +51,7 @@ namespace JetHerald
|
|||||||
" FROM topic t " +
|
" FROM topic t " +
|
||||||
" LEFT JOIN topic_chat tc ON t.TopicId = tc.TopicId AND tc.ChatId = @chatId " +
|
" LEFT JOIN topic_chat tc ON t.TopicId = tc.TopicId AND tc.ChatId = @chatId " +
|
||||||
" WHERE ReadToken = @token",
|
" WHERE ReadToken = @token",
|
||||||
new { token, chatId});
|
new { token, chatId });
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<Topic> CreateTopic(long userId, string name, string descr)
|
public async Task<Topic> CreateTopic(long userId, string name, string descr)
|
||||||
|
|||||||
@ -78,7 +78,7 @@ namespace JetHerald
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Log.LogError(e, "Exception occured during handling of command: "+ msg.Text);
|
Log.LogError(e, "Exception occured during handling of command: " + msg.Text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user