git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make sure to use the type specified by the user when resolving the record
[sfa.git]
/
sfa
/
methods
/
get_credential.py
diff --git
a/sfa/methods/get_credential.py
b/sfa/methods/get_credential.py
index
1c7d271
..
4e7a790
100644
(file)
--- a/
sfa/methods/get_credential.py
+++ b/
sfa/methods/get_credential.py
@@
-43,7
+43,7
@@
class get_credential(Method):
auth_hrn = hrn
auth_info = self.api.auth.get_auth_info(auth_hrn)
table = self.api.auth.get_auth_table(auth_hrn)
- records = table.resolve(
'*'
, hrn)
+ records = table.resolve(
type
, hrn)
if not records:
raise RecordNotFound(hrn)
record = records[0]