File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,6 +121,12 @@ get_auth_token() {
121121 echo " This test requires a valid Auth0 bearer token to test write operations."
122122 echo " Please obtain a fresh token from: https://devstore.rerum.io/"
123123 echo " "
124+ echo " Remember to delete your created junk and deleted junk. Run the following commands"
125+ echo " with mongosh for whatever MongoDB you are writing into:"
126+ echo " "
127+ echo " db.alpha.deleteMany({\" __rerum.generatedBy\" : \" YOUR_BEARER_AGENT\" });"
128+ echo " db.alpha.deleteMany({\" __deleted.object.__rerum.generatedBy\" : \" YOUR_BEARER_AGENT\" });"
129+ echo " "
124130 echo -n " Enter your bearer token (or press Enter to skip): "
125131 read -r AUTH_TOKEN
126132
Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ get_auth_token() {
120120 echo " This test requires a valid Auth0 bearer token to test write operations."
121121 echo " Please obtain a fresh token from: https://devstore.rerum.io/"
122122 echo " "
123+ echo " Remember to delete your created junk and deleted junk. Run the following commands"
124+ echo " with mongosh for whatever MongoDB you are writing into:"
125+ echo " "
126+ echo " db.alpha.deleteMany({\" __rerum.generatedBy\" : \" YOUR_BEARER_AGENT\" });"
127+ echo " db.alpha.deleteMany({\" __deleted.object.__rerum.generatedBy\" : \" YOUR_BEARER_AGENT\" });"
128+ echo " "
123129 echo -n " Enter your bearer token (or press Enter to skip): "
124130 read -r AUTH_TOKEN
125131
You can’t perform that action at this time.
0 commit comments