Skip to content

Commit

Permalink
fix: the name 'fielName' does not exist in the current context (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
qvaleroo authored Sep 22, 2023
1 parent 87e0952 commit f5b4249
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Scenario/Editor/PromptWindow/PromptWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void OnFocus()
internal void RemoveBackground(Texture2D texture2D)
{
string dataUrl = CommonUtils.Texture2DToDataURL(texture2D);
fielName = CommonUtils.GetRandomImageFileName();
fileName = CommonUtils.GetRandomImageFileName();
string url = $"images/erase-background";
string param = $"{{\"image\":\"{dataUrl}\",\"name\":\"{fileName}\",\"backgroundColor\":\"\",\"format\":\"png\",\"returnImage\":\"false\"}}";

Expand Down

0 comments on commit f5b4249

Please sign in to comment.