Skip to content

Commit

Permalink
chore: run eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Shurtu-gal committed Sep 26, 2023
1 parent 6dd1d52 commit c0ff8a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/schema/article/article.resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,7 @@ module.exports = {
createArticle: async (
_parent,
{ articleType, title, authors, photographers, designers, tech, categoryNumbers },
{ mid, session, authToken, decodedToken, API: { Article, CategoryMap } },
{ fieldNodes }
{ mid, session, authToken, decodedToken, API: { Article, CategoryMap } }
) => {

Check failure on line 352 in server/schema/article/article.resolver.js

View workflow job for this annotation

GitHub Actions / eslint / ESLint Check

'fieldNodes' is defined but never used. Allowed unused args must match /^_$/u
try {
if (!UserPermission.exists(session, authToken, decodedToken, 'article.write.new')) {
Expand Down

0 comments on commit c0ff8a9

Please sign in to comment.