|
func getUserRole(_ *gin.Context, apictx *ApiSession) ([]string, error) {
|
|
func getUserRole(_ *gin.Context, apictx *ApiSession) ([]string, error) {
|
|
userId, _ := primitive.ObjectIDFromHex(apictx.User.Parent)
|
|
userId, _ := primitive.ObjectIDFromHex(apictx.User.Parent)
|