File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ func PublicizeMember(ctx *context.APIContext) {
239
239
if userToPublicize .ID != ctx .Doer .ID && ! ctx .Doer .IsAdmin {
240
240
isOwner , err := ctx .Org .Organization .IsOwnedBy (ctx , ctx .Doer .ID )
241
241
if err != nil {
242
- ctx .Error (http .StatusInternalServerError , "ChangeOrgUserStatus " , err )
242
+ ctx .Error (http .StatusInternalServerError , "IsOwnedBy " , err )
243
243
return
244
244
}
245
245
if ! isOwner {
@@ -288,7 +288,7 @@ func ConcealMember(ctx *context.APIContext) {
288
288
if userToConceal .ID != ctx .Doer .ID && ! ctx .Doer .IsAdmin {
289
289
isOwner , err := ctx .Org .Organization .IsOwnedBy (ctx , ctx .Doer .ID )
290
290
if err != nil {
291
- ctx .Error (http .StatusInternalServerError , "ChangeOrgUserStatus " , err )
291
+ ctx .Error (http .StatusInternalServerError , "IsOwnedBy " , err )
292
292
return
293
293
}
294
294
if ! isOwner {
You can’t perform that action at this time.
0 commit comments