Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengYen-Tang committed Jan 22, 2021
2 parents 3a50cdc + f920328 commit 3ea18fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions MicrosoftGraphAPIBot/Models/BotDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ namespace MicrosoftGraphAPIBot.Models
{
public class BotDbContext : DbContext
{
public BotDbContext()
{
}

public BotDbContext(DbContextOptions<BotDbContext> options) : base(options)
{
}
Expand Down
8 changes: 8 additions & 0 deletions ReleaseNotes/1.1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## 新功能:

## 變更:

## Bug 修復:
`The DbContext of type 'BotDbContext' cannot be pooled because it does not have a public constructor accepting a single parameter of type DbContextOptions or has more than one constructor.` 錯誤 [(#20)](https://github.com/NTUT-SELab/MicrosoftGraphBot/issues/20)

## 文檔:

0 comments on commit 3ea18fa

Please sign in to comment.