Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
fix(route): specify the relationships to include
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 15, 2022
1 parent b706afa commit b24032c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/user/update(id).patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class extends DoubleBoundJSONController {
const { id } = request.body.data
const { email } = request.body.data.attributes

const userData = deserialize(request.user) as DeserializedUserProfile
const userData = deserialize(request.user) as DeserializedUserProfile<"roles">
const updateData: Serializable = request.body.data.attributes

if (
Expand Down

0 comments on commit b24032c

Please sign in to comment.