File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/templates/domain/useCases Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ export class UpdateTemplateLicenseTerms implements UseCase<void> {
99 this . templatesRepository = templatesRepository
1010 }
1111
12+ /**
13+ * Updates the license terms for a template with the given identifier.
14+ *
15+ * @param {number } templateId - The unique identifier of the template to update.
16+ * @param {UpdateTemplateLicenseTermsDTO } payload - The license terms data to apply to the template.
17+ * @returns {Promise<void> } A promise that resolves when the license terms have been updated.
18+ */
1219 async execute ( templateId : number , payload : UpdateTemplateLicenseTermsDTO ) : Promise < void > {
1320 return await this . templatesRepository . updateTemplateLicenseTerms ( templateId , payload )
1421 }
You can’t perform that action at this time.
0 commit comments