From 759fbbae0f8ad4b85da11f87e1bac19812ae9608 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Sat, 29 Jun 2019 09:08:38 -0700 Subject: [PATCH] Typo: ErrInsufficientPrivliges -> ErrInsufficientPrivileges The compiler would have caught this.... --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74c66b3..3043214 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,7 @@ func GetItem(ctx context.Context, json []bytes) (Item, error) { return NullItem, err } if !GetUserFromContext(ctx).IsAdmin() { - return NullItem, ErrInsufficientPrivliges + return NullItem, ErrInsufficientPrivileges } return db.GetItem(order.ItemID) }