Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed May 31, 2020
1 parent b3bfcf2 commit 02d6206
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EhTagApi/Controllers/ToolsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ namespace EhTagApi.Controllers
[FormatFilter]
public class ToolsController : ControllerBase
{
private readonly Database _Database;
public ToolsController(Database database)
{
_Database = database;
}

[HttpHead("status")]
public IActionResult Status()
{
Expand Down
1 change: 1 addition & 0 deletions EhTagClient/DataBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public Database(RepoClient repoClient)
_Values[i] = new RecordDictionary(_Keys[i], repoClient);
}
Load();
Render();
#if DEBUG
Save();
#endif
Expand Down

0 comments on commit 02d6206

Please sign in to comment.