Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Can't get more then one param from "rest-method-mixin"? #136

Open
thearabbit opened this issue Jun 14, 2017 · 1 comment
Open

Can't get more then one param from "rest-method-mixin"? #136

thearabbit opened this issue Jun 14, 2017 · 1 comment

Comments

@thearabbit
Copy link

    restOptions: {
        url: 'post-list',
        httpMethod: 'get',
        getArgsFromRequest(request) {
           .................
            return [param1, param2];
        }
    },
    run(param1, param2) {
        if (!this.isSimulation) {
            console.log(param1, param2);
        }
    }

param2 is undefined???

@formspoint
Copy link

This is kinda important, did you figure this out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants