r2.1
This commit is contained in:
@@ -49,6 +49,7 @@ router.patch('/', authenticateToken, authenticateRole(OWNERS), validate(updateOr
|
||||
|
||||
router.get('/branding', authenticateToken, async (req, res, next) => {
|
||||
try {
|
||||
if (!req.user.organizationId) return ok(res, {});
|
||||
const branding = await svc.getBranding(models, req.user.organizationId);
|
||||
ok(res, branding);
|
||||
} catch (err) { next(err); }
|
||||
|
||||
Reference in New Issue
Block a user