This commit is contained in:
ThatOneCalculator 2022-07-28 22:46:51 -07:00
parent d9f111bb31
commit 2fb389601a

View File

@ -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);
}