mocksaml/lib/entity-id.ts

6 lines
163 B
TypeScript
Raw Normal View History

const getEntityId = (entityId: string, namespace: string | undefined) => {
return namespace ? `${entityId}/${namespace}` : entityId;
};
export { getEntityId };