[BUG] when a BikeTag Ambassador approves a new BikeTag Post, the remaining tags in the queue are not cleared
Closed this issue · 1 comments
KenEucker commented
Describe the bug
When the autopost function runs and creates a new BikeTag Post by calling setNewBikeTagPost
, the remaining tags in the queue are added to the BikeDex and the queue is cleared. See:
But when the approve function calls setNewBikeTagPost
, this additional step is not performed. It should be. See:
biketag-vue/functions/approve.ts
Line 58 in 3ace427
To Reproduce
Steps to reproduce the behavior:
- Create a new BikeTag Post
- Create another BikeTag Post
- Approve one tag for the winner of the round as a BikeTag Ambassador
- See that the queue is not cleared, nor are images saved in the BikeDex
Expected behavior
The queue should be cleared and images copied over to that game's BikeDex.
KenEucker commented
I believe that this is working now, with the recent overhauling of how new tags are posted.