Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
add demo links and fix setting.service
Browse files Browse the repository at this point in the history
  • Loading branch information
wodka committed Jun 11, 2020
1 parent ae63f28 commit 0a1a21d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- di on setting resolver, prevented signup settings to be visible in ui
- return admin of form also for admins

### Security

Expand Down
2 changes: 1 addition & 1 deletion src/resolver/form/form.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class FormResolver {
}

@ResolveField('admin', () => UserModel)
@Roles('superuser')
@Roles('admin')
async getAdmin(
@Parent() parent: FormModel,
@Context('cache') cache: ContextCache,
Expand Down

0 comments on commit 0a1a21d

Please sign in to comment.