mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[backend] Require authentication to view channels
This commit is contained in:
parent
fe2a97a6c3
commit
2166ea019d
@ -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 New Issue
Block a user