-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branding API improvement #3334
Branding API improvement #3334
Conversation
- correspondingly objects renamed
- included also details in 400 type error response
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one remark. Another looks good
@@ -6,7 +6,10 @@ | |||
// Meteor contributed packages imports | |||
import { Restivus } from 'meteor/nimble:restivus'; | |||
|
|||
const SettingsV1 = new Restivus({ | |||
// APInf imports | |||
import descriptionBranding from '/apinf_packages/rest_apis/lib/descriptions/branding_texts'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I see you didn't use this variable in this file
Remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean variable descriptionBranding?
It is used on line 27.
( description: descriptionBranding.general, )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sorry, didn't see it
Closes #3325
Changes
Developer checklist
This checklist is to be completed by the PR developer:
Reviewer checklist
Reviewed by: @username1
This list is to be completed by the pull request reviewer: