From 694e5c969005559105152ea33be6e17c084ad3dd Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Tue, 6 Sep 2022 12:01:37 +0200 Subject: [PATCH] feat(public): add slugs array to organization json --- src/controllers/PublicController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/PublicController.ts b/src/controllers/PublicController.ts index 277f463..bec558c 100644 --- a/src/controllers/PublicController.ts +++ b/src/controllers/PublicController.ts @@ -258,7 +258,8 @@ export default class PublicController { } if (format == 'json') { res.json({ - ...version + ...version, + slugs: org.get('slugs') }) }