Zaid-Ajaj / tabula-rasa

Minimalistic real-worldish blogging platform, written entirely in F#, made as a learning reference for building large Elmish apps
199 stars 16 forks source link

Use Security.authorizeAdmin helper everywhere for consistency #16

Closed mattherman closed 4 years ago

mattherman commented 4 years ago

I noticed there were some functions that utilized the Security.authorizeAdmin helper function while others used Security.authorize [ "admin" ]. In order to make it consistent, I replaced those usages with the helper. If you meant for them to be the other way, feel free to close out this PR.

Thanks!

Zaid-Ajaj commented 4 years ago

Awesome! Thanks a lot :heart: