Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

When generating PDF, I am getting a page with

...

a permissions error and sign-in

...

page.

...

  •  Open the Ruby console in the Rx-Hub directory. You can launch an interactive terminal by running bundle exec rails c in the application directory

  • Get the module_id of the module that you are generating the PDF in.

  • Then run RxModuleComponent.find_by(module_id: "<the module id>").update_token

  • example: RxModuleComponent.find_by(module_id: "rx_inventory").update_token

...