min...@nanopay.net writes:
> by mcarcaso :
> So you're creating the model without a context so it'll use the global
> context which won't have any of the nspec services so any references in the
> model won't be able to get looked up
> you could try `return model.create(null, this.__context__);` and see if
> that helps.
> It’s a subtle thing that’s easy to forget. When creating something from a
> model you require the context of the model is automatically passed in but
> since you’re looking up the model you have to be a bit more mindful of the
> context.
>
>
>
> On Tuesday, October 23, 2018 at 2:04:03 PM UTC-4,
min...@nanopay.net wrote:
>>