gbkannan89 commented on code in PR #7532:
URL: https://github.com/apache/trafficcontrol/pull/7532#discussion_r1214462536
##########
experimental/traffic-portal/src/app/api/profile.service.ts:
##########
@@ -103,4 +103,24 @@ export class ProfileService extends APIService {
return
this.delete<ResponseProfile>(`profiles/${id}`).toPromise();
}
+ /**
+ * Exports profile
+ *
+ * @param profileId Id of the profile to export.
+ * @returns profile export object.
+ */
+ public async exportProfile(profileId: number | ResponseProfile):
Promise<ProfileExport>{
Review Comment:
yes, we don't want responseProfile as we know id is the required and we can
pass that itself. so removed ResponseProfile.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]