We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499a1aa commit bdd8b94Copy full SHA for bdd8b94
services/profiles/profiles.class.ts
@@ -6,7 +6,7 @@ import { Poll } from 'which-types';
6
export default class Profiles {
7
app!: Application;
8
9
- async get(id: string, params: Params ): Promise<Poll[]> {
+ async get(id: string, params: Params): Promise<Poll[]> {
10
return this.app.service('polls').find({
11
...params,
12
query: {
services/users/users.hooks.ts
@@ -15,7 +15,7 @@ const ignoreCaseRegex = async (context: HookContext): Promise<HookContext> => {
15
export default {
16
after: {
17
all: hooks.protect('password'),
18
- get: discard('password'), // Protect password from local get's
+ get: discard('password') // Protect password from local get's
19
},
20
before: {
21
find: ignoreCaseRegex,
0 commit comments