Skip to content

Commit

Permalink
chore(usersservice): update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Oct 21, 2022
1 parent 1326cb0 commit 8d365c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/identity/UsersService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class UsersService {
})
}

async isSiteAdmin(userId: string, siteName: string) {
async getSiteAdmin(userId: string, siteName: string) {
return this.repository.findOne({
where: { id: userId, role: "ADMIN" },
include: [
Expand Down

0 comments on commit 8d365c6

Please sign in to comment.