static get visible() with id and username returns 0 #1646
punity-team
started this conversation in
General
Replies: 2 comments 2 replies
-
Can you please format your codeblocks. Here's a link to the markdown guide https://guides.github.com/features/mastering-markdown/ |
Beta Was this translation helpful? Give feedback.
2 replies
-
i've fixed myself, I needed to insert this code into my model:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI!
I have the code
in my user model.
When I try to create a user, I get this result:
Why I get 0 as ID ?
Beta Was this translation helpful? Give feedback.
All reactions