lint
This commit is contained in:
parent
00de60eec4
commit
c697041dfc
4 changed files with 11 additions and 13 deletions
|
|
@ -132,11 +132,7 @@ export const promisedRequest = async ({
|
|||
)
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(
|
||||
error,
|
||||
{ url, options },
|
||||
response,
|
||||
)
|
||||
throw new Error(error, { url, options }, response)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,8 @@ const MASTODON_STATUS_CONTEXT_URL = (id) => `/api/v1/statuses/${id}/context`
|
|||
const MASTODON_STATUS_SOURCE_URL = (id) => `/api/v1/statuses/${id}/source`
|
||||
const MASTODON_STATUS_HISTORY_URL = (id) => `/api/v1/statuses/${id}/history`
|
||||
const MASTODON_USER_URL = '/api/v1/accounts'
|
||||
const MASTODON_USER_LOOKUP_URL = ({ acct }) => `/api/v1/accounts/lookup${paramsString({ acct })}`
|
||||
const MASTODON_USER_LOOKUP_URL = ({ acct }) =>
|
||||
`/api/v1/accounts/lookup${paramsString({ acct })}`
|
||||
const MASTODON_POLL_URL = (id = '') => `/api/v1/polls/${id}`
|
||||
const MASTODON_STATUS_FAVORITEDBY_URL = (id) =>
|
||||
`/api/v1/statuses/${id}/favourited_by`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue