get singular flag
This commit is contained in:
parent
d20b5d65d8
commit
782ee6e781
@ -76,6 +76,12 @@ class FlagManager
|
||||
flag.value = data.value;
|
||||
}
|
||||
|
||||
getFlag (query: FlagQuery)
|
||||
{
|
||||
const [ flag ] = this.getFlags(query);
|
||||
return flag;
|
||||
}
|
||||
|
||||
getFlags ({ id, name, env, consumer, hierarchy, strict = false }: FlagQuery): Flag[]
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user