o
    Q?h                     @   s*   d dl Z d dlmZ dddZdd ZdS )    N)dbc                 C   sv   t dd,}tt|}| r(|D ]}|d| kr't|  W  d    S q|W  d    S 1 s4w   Y  d S )Nzconfigs\platforms.jsonrid)openlistjsonloadgetdict)
platformIdfile	platformsplatform r   H/var/www/html/riverr-enterprise-integrations-main/functions/Platforms.pygetPlatforms   s   
$r   c                 C   s&   t d|  }|jr| S d S )NappCredentials)r   
collectiondocumentr	   existsto_dict)appIdrefr   r   r   getAppCredentials   s   r   )N)r   configs.firebaser   r   r   r   r   r   r   <module>   s    
