🔒 Do not expose application api into (#372)
This commit is contained in:
@@ -23,6 +23,8 @@ export class CompanyApplicationServiceImpl implements TdriveServiceProvider, Ini
|
||||
pk.application_id,
|
||||
context,
|
||||
);
|
||||
//do not expose application secret
|
||||
application.api = null;
|
||||
|
||||
if (!application?.id) {
|
||||
return null;
|
||||
@@ -62,6 +64,8 @@ export class CompanyApplicationServiceImpl implements TdriveServiceProvider, Ini
|
||||
companyApplication.application_id,
|
||||
context,
|
||||
);
|
||||
//do not expose application secret
|
||||
application.api = null;
|
||||
if (application)
|
||||
applications.push({
|
||||
...companyApplication,
|
||||
|
||||
Reference in New Issue
Block a user