was passing type option in as types

- this is why it wasn't checking the correct types of requested links

Signed-off-by: Chris Jones <chris@jonezy.org>