mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[backend] Require authentication to view channels
This commit is contained in:
parent
fe2a97a6c3
commit
2166ea019d
4 changed files with 4 additions and 7 deletions
|
@ -4,8 +4,7 @@ import { Channels } from "@/models/index.js";
|
|||
export const meta = {
|
||||
tags: ["channels"],
|
||||
|
||||
requireCredential: false,
|
||||
requireCredentialPrivateMode: true,
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: "array",
|
||||
|
|
|
@ -9,7 +9,7 @@ import { sqlLikeEscape } from "@/misc/sql-like-escape.js";
|
|||
export const meta = {
|
||||
tags: ["channels"],
|
||||
|
||||
requireCredential: false,
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: "array",
|
||||
|
|
|
@ -5,8 +5,7 @@ import { Channels } from "@/models/index.js";
|
|||
export const meta = {
|
||||
tags: ["channels"],
|
||||
|
||||
requireCredential: false,
|
||||
requireCredentialPrivateMode: true,
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: "object",
|
||||
|
|
|
@ -7,8 +7,7 @@ import { activeUsersChart } from "@/services/chart/index.js";
|
|||
export const meta = {
|
||||
tags: ["notes", "channels"],
|
||||
|
||||
requireCredential: false,
|
||||
requireCredentialPrivateMode: true,
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: "array",
|
||||
|
|
Loading…
Reference in a new issue