diff --git a/api/user.go b/api/user.go index 91da2d5..4d62a6c 100644 --- a/api/user.go +++ b/api/user.go @@ -29,7 +29,7 @@ type userMerchantResponse struct { Outlet db.Merchant `json:"outlet"` } -func newUserMerchantResponse(user db.User, merchant db.Merchant) userMerchantResponse { +func newUserMerchantResponse(user db.GetUserByEmailRow, merchant db.Merchant) userMerchantResponse { return userMerchantResponse{ ID: user.ID, IndexID: user.IndexID,