Skip to content

Commit

Permalink
Merge pull request #43 from haochenpan/ap-tests-fix
Browse files Browse the repository at this point in the history
Update main.py
  • Loading branch information
haochenpan authored Oct 31, 2024
2 parents f8026e0 + e887385 commit d7d5f0f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action_provider/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ def create_app() -> Flask:
visible_to=['public'],
)

app.config.DIASPORA_CLIENT_ID = CLIENT_ID
app.config.DIASPORA_CLIENT_SECRET = CLIENT_SECRET
app.config['DIASPORA_CLIENT_ID'] = CLIENT_ID
app.config['DIASPORA_CLIENT_SECRET'] = CLIENT_SECRET

ap_blueprint = ActionProviderBlueprint(
name='diaspora',
import_name=__name__,
provider_description=provider_description,
)

# Contributor: Stephen Rosen
# https://github.com/haochenpan/diaspora-service/pull/42
# register routes
Expand Down

0 comments on commit d7d5f0f

Please sign in to comment.