feat(API): Add tag support to public API (#8588)

Co-authored-by: Jesús Burgers <jesus.burgers@chakray.co.uk>
Co-authored-by: Jesús Burgers <43568066+jburgers-chakray@users.noreply.github.com>
This commit is contained in:
Omar Ajoue
2024-02-09 15:10:03 +00:00
committed by GitHub
parent 64b10d7f5c
commit a743a40376
22 changed files with 1131 additions and 6 deletions

View File

@@ -64,6 +64,12 @@ export class TagService {
}) as Promise<GetAllResult<T>>);
}
async getById(id: string) {
return await this.tagRepository.findOneOrFail({
where: { id },
});
}
/**
* Sort tags based on the order of the tag IDs in the request.
*/