Skip to content

api: check if user is subscribed for dictation token#30

Open
muhammad23012009 wants to merge 1 commit intopebble-dev:masterfrom
muhammad23012009:master
Open

api: check if user is subscribed for dictation token#30
muhammad23012009 wants to merge 1 commit intopebble-dev:masterfrom
muhammad23012009:master

Conversation

@muhammad23012009
Copy link
Copy Markdown

No description provided.

Comment thread auth/api.py
db.session.commit()
return jsonify(token=asr_token.access_token)
else:
abort(401)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really calls for:

Suggested change
abort(401)
abort(402)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants