mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Cleanup
We must not expose private actor objects to clients Just make 2 GET requests on channel/accounts instead
This commit is contained in:
parent
d6d96bed80
commit
012580d98f
21 changed files with 221 additions and 397 deletions
|
@ -1,10 +0,0 @@
|
|||
import { isAccountNameValid } from './accounts'
|
||||
import { isVideoChannelNameValid } from './video-channels'
|
||||
|
||||
function isActorNameValid (value: string) {
|
||||
return isAccountNameValid(value) || isVideoChannelNameValid(value)
|
||||
}
|
||||
|
||||
export {
|
||||
isActorNameValid
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue