From 19e732f3eaafccf165ad7ed77f1d460da0d292d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 14 Mar 2021 16:23:14 +0100 Subject: [PATCH] fix typo. --- internal/member/dummy/manager.go | 2 +- internal/types/member.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/member/dummy/manager.go b/internal/member/dummy/manager.go index f58456b1..677134ee 100644 --- a/internal/member/dummy/manager.go +++ b/internal/member/dummy/manager.go @@ -48,7 +48,7 @@ func (manager *MemberManagerCtx) UpdateProfile(id string, profile types.MemberPr return fmt.Errorf("Not implemented.") } -func (manager *MemberManagerCtx) UpdatePassword(id string, passwrod string) error { +func (manager *MemberManagerCtx) UpdatePassword(id string, password string) error { return fmt.Errorf("Not implemented.") } diff --git a/internal/types/member.go b/internal/types/member.go index 5ef65a92..a201e5c2 100644 --- a/internal/types/member.go +++ b/internal/types/member.go @@ -20,6 +20,6 @@ type MemberManager interface { Select(id string) (MemberProfile, error) SelectAll(limit int, offset int) (map[string]MemberProfile, error) UpdateProfile(id string, profile MemberProfile) error - UpdatePassword(id string, passwrod string) error + UpdatePassword(id string, password string) error Delete(id string) error }