Skip to content

Commit

Permalink
fix(signature-colletion): allow manager on paper upload (#16427)
Browse files Browse the repository at this point in the history
* fix: allow manager on paper upload

* fix: rm cl

* fix: rm cl

* chore: nx format:write update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and kksteini committed Oct 17, 2024
1 parent 2e717fa commit e7da188
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ import {
SignatureCollectionListIdInput,
SignatureCollectionUploadPaperSignatureInput,
} from './dto'
import {
AllowDelegation,
AllowManager,
CurrentSignee,
IsOwner,
} from './decorators'
import { AllowManager, CurrentSignee, IsOwner } from './decorators'
import {
SignatureCollection,
SignatureCollectionCollector,
Expand Down Expand Up @@ -185,6 +180,7 @@ export class SignatureCollectionResolver {

@Scopes(ApiScope.signatureCollection)
@IsOwner()
@AllowManager()
@Mutation(() => SignatureCollectionSuccess)
@Audit()
async signatureCollectionUploadPaperSignature(
Expand Down

0 comments on commit e7da188

Please sign in to comment.