diff --git a/src/common/modules/MastodonApi.js b/src/common/modules/MastodonApi.js index b1cc70c..b685c7d 100644 --- a/src/common/modules/MastodonApi.js +++ b/src/common/modules/MastodonApi.js @@ -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