Skip to content

Commit 011c8fb

Browse files
committed
DeepL API가 작동하지 않는 문제 수정
1 parent 5b3fe63 commit 011c8fb

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

MORT/TransAPI/CustomAPI.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public class CustomAPI
1818

1919
private struct ToTrans
2020
{
21-
public string name;
22-
public string text;
23-
public string target;
24-
public string source;
21+
public string name { get; set; }
22+
public string text { get; set; }
23+
public string target { get; set; }
24+
public string source { get; set; }
2525
}
2626

2727
private readonly CustomApiPresetService _customApiPresetService;

MORT/TransAPI/DeepLAPITranslateAPI.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public class DeepLAPITranslateAPI
1818

1919
private struct ToTrans
2020
{
21-
public string[] text;
22-
public string target_lang;
23-
public string source_lang;
21+
public string[] text { get; set; }
22+
public string target_lang { get; set; }
23+
public string source_lang { get; set; }
2424
}
2525

2626
public void InitApiKey(string apiKey)

0 commit comments

Comments
 (0)