summaryrefslogtreecommitdiff
path: root/pkg/users.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/users.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/users.go b/pkg/users.go
index 2577207..14a8acd 100644
--- a/pkg/users.go
+++ b/pkg/users.go
@@ -46,7 +46,7 @@ func (u *UserPromise) IfRepaired(p ...Promise) Promise {
return u
}
-func (u *UserPromise) Promise() Promise {
+func (u *UserPromise) Promise() *UserPromise {
users = append(users, u)
return u
}