ack
This commit is contained in:
parent
664ea1dcf4
commit
e447e72c77
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export const paramDef = {
|
|||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, paramDef, async (ps, user) => {
|
||||
const m = await fetchMeta();
|
||||
if (m.disableLocalTimeline) {
|
||||
if (m.disableRecommendedTimeline) {
|
||||
if (user == null || (!user.isAdmin && !user.isModerator)) {
|
||||
throw new ApiError(meta.errors.ltlDisabled);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue