Skip to content

Commit

Permalink
chore(issue): add typename in public fields
Browse files Browse the repository at this point in the history
  • Loading branch information
120EE0692 committed Aug 22, 2023
1 parent d393501 commit ff0c600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/schema/issue/issue.resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const UserPermission = require('../../utils/userAuth/permission');
const DEF_LIMIT = 10,
DEF_OFFSET = 0;

const PUBLIC_FIELDS = ['id', 'name', 'thumbnail', 'description', 'articles', 'featured'];
const PUBLIC_FIELDS = ['id', 'name', 'thumbnail', 'description', 'articles', 'featured','__typename'];

module.exports = {
getIssueByID: async (_parent, { id }, { session, authToken, decodedToken, API: { Issue } }, { fieldNodes }) => {
Expand Down

0 comments on commit ff0c600

Please sign in to comment.