Skip to content

Commit

Permalink
chore: Accidentally didn't push all changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ITR13 committed Jan 14, 2024
1 parent bdbb5a0 commit 2f9b83f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tomlet/Models/TomlDocument.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Text;
using Tomlet.Extensions;

namespace Tomlet.Models
{
Expand All @@ -16,9 +17,9 @@ internal TomlDocument()

internal TomlDocument(TomlTable from)
{
foreach (var key in from.Keys)
foreach (var (key, value) in from)
{
PutValue(key, from.GetValue(key));
PutValue(TomlKeyUtils.FullStringToProperKey(key), value);
}
}

Expand Down

0 comments on commit 2f9b83f

Please sign in to comment.