mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update backend/src/middleware/passwordMiddleware.js
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
This commit is contained in:
parent
023c636017
commit
0c8b478ce2
@ -12,7 +12,7 @@ export default {
|
||||
},
|
||||
Query: async (resolve, root, args, context, info) => {
|
||||
let result = await resolve(root, args, context, info)
|
||||
result = walkRecursive(result, ['password', 'privatKey'], () => {
|
||||
result = walkRecursive(result, ['password', 'privateKey'], () => {
|
||||
// replace password with asterisk
|
||||
return '*****'
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user