Fix rendering of access token in API docs

This commit is contained in:
sedrubal 2019-11-10 00:23:18 +01:00
parent 3a2d1512ab
commit 436e8b069d
No known key found for this signature in database
GPG key ID: B83D4C8CEB8ABFF6

View file

@ -292,7 +292,7 @@ export default class API extends Component {
<strong>{t('example')}</strong>
</p>
<pre>curl -XPOST '{getUrl(`api/blacklist/add?access_token={accessToken}`)}' \<br/>
<pre>curl -XPOST '{getUrl(`api/blacklist/add?access_token=${accessToken}`)}' \<br/>
--data 'EMAIL=test@example.com&amp;'</pre>
<h4>POST /api/blacklist/delete {t('deleteEmailFromBlacklist')}</h4>