0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed description editing in collections service

refs https://github.com/TryGhost/Team/issues/3260

- Fixed broken functionality after a refactor
This commit is contained in:
Naz 2023-06-01 12:06:11 +07:00 committed by naz
parent 93bad82a24
commit 5d16425428

View file

@ -119,6 +119,10 @@ export class CollectionsService {
collection.title = data.title;
}
if (data.description) {
collection.description = data.description;
}
await this.collectionsRepository.save(collection);
return collection;