image Am I doing it correctly

I don't recommend doing it in service provider but it seems fine as you have seprate sevice provider for it and you are checking hasTable but I still do say can be done in middleware instead.

Thanks I never got answer like this before I appreciate

  • No matching results...
  • Searching...

/ 1000

Poll Options