Skip to content

Commit

Permalink
feat: digital credentials decorator (bcgov#2337)
Browse files Browse the repository at this point in the history
* feat: adds check for digital business card feature

Signed-off-by: Akiff Manji <amanji@petridish.dev>

* refactor: better function naming

Signed-off-by: Akiff Manji <amanji@petridish.dev>

* feat: decorator pto protect digital credentials endpoints

Signed-off-by: Akiff Manji <amanji@petridish.dev>

* chore: address code review comments

Signed-off-by: Akiff Manji <amanji@petridish.dev>

---------

Signed-off-by: Akiff Manji <amanji@petridish.dev>
  • Loading branch information
amanji committed Nov 30, 2023
1 parent 5058f72 commit 24cfb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legal-api/tests/unit/services/test_digital_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ def test_data_helper(app, session, test_data):
credential_data = DigitalCredentialsHelpers.get_digital_credential_data(business, user, credential_type)

# Assert
assert credential_data == test_data['expected']
assert credential_data == test_data['expected']

0 comments on commit 24cfb07

Please sign in to comment.