Skip to content

Commit 56f6b84

Browse files
authored
Merge pull request #1195 from yileicn/master
fileOptions add to states
2 parents 2df49ef + b7bd2e3 commit 56f6b84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public async Task<InstructResult> Execute(
125125
Data = state.GetStates().ToDictionary(x => x.Key, x => (object)x.Value)
126126
});
127127
result = fileResponse.Result.IfNullOrEmptyAs(string.Empty);
128+
state.SetState("fileOptions", fileOptions.ConvertToString());
128129
}
129130
else
130131
{

0 commit comments

Comments
 (0)