casdoor / casdoor-dotnet-sdk

.NET client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
28 stars 25 forks source link

casbin 'enforce' api method throws exception #76

Closed typicalhuman7 closed 1 year ago

typicalhuman7 commented 1 year ago

Seems casbin 'enforce' api method fail while serializes result to bool value. Casdoor response looks like an array with bool values [ "false" ]

https://github.com/casdoor/casdoor/blob/2fd2d88d20d470fedb72885c224cbae4e595f109/controllers/casbin_api.go#L71

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte