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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user