rename isEntitled to isEntitledToSpace (#1174)

This commit is contained in:
Tak Wai Wong 2023-01-06 12:12:35 -08:00 committed by GitHub
parent b09cd18803
commit 3700bcbde4
2 changed files with 33 additions and 33 deletions

File diff suppressed because one or more lines are too long

View file

@ -161,7 +161,7 @@ func (za *ZionAuthorizationV2) isAllowedLocalhost(
switch roomInfo.ChannelNetworkId {
case "":
// ChannelNetworkId is empty. Space entitlement check.
isEntitled, err = space.IsEntitled(
isEntitled, err = space.IsEntitledToSpace(
nil,
user,
permission.String(),