Skip to content

Commit

Permalink
fix: remove duplicated EZTencentAPIKey
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Nov 28, 2023
1 parent 8f3db89 commit a4dbf82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
7 changes: 0 additions & 7 deletions Easydict/Feature/Service/Model/EZConstKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,16 @@ static NSString *const EZOpenAIAPIKey = @"EZOpenAIAPIKey";
static NSString *const EZOpenAITranslationKey = @"EZOpenAITranslationKey";
static NSString *const EZOpenAIDictionaryKey = @"EZOpenAIDictionaryKey";
static NSString *const EZOpenAISentenceKey = @"EZOpenAISentenceKey";

static NSString *const EZOpenAIServiceUsageStatusKey = @"EZOpenAIServiceUsageStatusKey";

static NSString *const EZOpenAIDomainKey = @"EZOpenAIDomainKey";
static NSString *const EZOpenAIEndPointKey = @"EZOpenAIEndPointKey";
static NSString *const EZOpenAIModelKey = @"EZOpenAIModelKey";


static NSString *const EZDeepLAuthKey = @"EZDeepLAuthKey";

static NSString *const EZBingCookieKey = @"EZBingCookieKey";
static NSString *const EZNiuTransAPIKey = @"EZNiuTransAPIKey";

static NSString *const EZTencentAPIKey = @"EZTencentAPIKey";

static NSString *const EZCaiyunToken = @"EZCaiyunToken";
static NSString *const EZTencentAPIKey = @"EZTencentAPIKey";

@interface EZConstKey : NSObject

Expand Down
8 changes: 1 addition & 7 deletions Easydict/Feature/Utility/EZLinkParser/EZSchemeParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -204,16 +204,10 @@ - (NSArray *)allowedReadWriteKeys {
EZDeepLAuthKey,
EZDeepLTranslationAPIKey,
EZNiuTransAPIKey,

EZTencentAPIKey,

EZCaiyunToken,

EZTencentAPIKey,
EZBingCookieKey,

EZIntelligentQueryModeKey,

EZBingCookieKey,
];

return readWriteKeys;
Expand Down

0 comments on commit a4dbf82

Please sign in to comment.