Closed hampelm closed 8 years ago
Ah, we don't have the leading zero.
why don't we just cast to int before the api request?
That would work. I'd like us to be as true to the source data as possible (will help if we have other consumers in the future, too)
i'm fairly positive that an EIN is always a number and never requires symbols. according to wikipedia the dash after the first two digits is a cosmetic choice. we can display the ein with a dash but i think it makes sense to store & query as a number.
Ah! Could we cast the EIN to an int server-side? And maybe also remove dashes. That way it wouldn't matter if the requester had the leading zero.
we could def do that!
On Wed, Sep 7, 2016 at 9:05 AM, Matt Hampel notifications@github.com wrote:
Ah! Could we cast the EIN to an int server-side? And maybe also remove dashes. That way it wouldn't matter if the requester had the leading zero.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/detroitledger/gnl_profile/issues/140#issuecomment-245274001, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGDennB0HQGb_SendIRio9nPSxLPV8Mks5qnrargaJpZM4JxDWY .
EIN 10885325 Guidestar has 'em http://www.guidestar.org/profile/01-0885325