mirror of https://gitlab.com/bashrc2/epicyon
Mastodon api response to timelines
parent
198381e99a
commit
9e1a26c764
|
@ -165,7 +165,9 @@ def mastoApiV1Response(path: str, callingDomain: str,
|
||||||
sendJson = []
|
sendJson = []
|
||||||
sendJsonStr = 'masto API statuses sent ' + path
|
sendJsonStr = 'masto API statuses sent ' + path
|
||||||
elif path.startswith('/api/v1/timelines'):
|
elif path.startswith('/api/v1/timelines'):
|
||||||
sendJson = []
|
sendJson = {
|
||||||
|
'error': 'This method requires an authenticated user'
|
||||||
|
}
|
||||||
sendJsonStr = 'masto API timelines sent ' + path
|
sendJsonStr = 'masto API timelines sent ' + path
|
||||||
elif path.startswith('/api/v1/custom_emojis'):
|
elif path.startswith('/api/v1/custom_emojis'):
|
||||||
sendJson = customEmoji
|
sendJson = customEmoji
|
||||||
|
|
Loading…
Reference in New Issue