style: add missing JSDoc

This commit is contained in:
rugk 2022-06-12 19:11:02 +02:00
parent 973bbd9855
commit 62905a913c
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D

View file

@ -87,6 +87,7 @@ export function isMastodonServer(mastodonServer) {
* @param {string} mastodonServer Mastodon server domain to query
* @param {string} localTootId local ID of the toot
* @returns {Promise} an (JSON) object
* @throws {MastodonApiError} in case the data cannot be fetched
*/
export function getTootStatus(mastodonServer, localTootId) {
// protcol specified HTTPS must be used