mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-06-30 18:14:45 +00:00
Update unit tests
This commit is contained in:
parent
635a1613dc
commit
860a3713a6
@ -40,7 +40,7 @@ export class TagsApi {
|
||||
|
||||
async createTags(tags: TagBody[]): Promise<TagEntry | TagPaging> {
|
||||
try {
|
||||
return this.apiService.tagsApi.createTags(tags);
|
||||
return this.apiService.tagsApi.createTags(tags).then((entry) => entry[0]);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user