mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 19:37:34 -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 = {
|
export const meta = {
|
||||||
tags: ["channels"],
|
tags: ["channels"],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
requireCredentialPrivateMode: true,
|
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "array",
|
type: "array",
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { sqlLikeEscape } from "@/misc/sql-like-escape.js";
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ["channels"],
|
tags: ["channels"],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "array",
|
type: "array",
|
||||||
|
|
|
@ -5,8 +5,7 @@ import { Channels } from "@/models/index.js";
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ["channels"],
|
tags: ["channels"],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
requireCredentialPrivateMode: true,
|
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
|
|
@ -7,8 +7,7 @@ import { activeUsersChart } from "@/services/chart/index.js";
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ["notes", "channels"],
|
tags: ["notes", "channels"],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
requireCredentialPrivateMode: true,
|
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "array",
|
type: "array",
|
||||||
|
|
Loading…
Reference in a new issue