KenEucker/biketag-vue

[BUG] Runner up BikeTag Posts are not being saved into the BikeDex for each game

Open

#190 opened on Nov 29, 2023

 (0 comments) (0 reactions) (0 assignees)TypeScript (20 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (Avg merge 11d 6h) (1 merged PR in 30d)

Description

Describe the bug It appears that the images are being saved before being deleted from the Queue, but they are saved in a new post, not within the correct album.

To Reproduce Steps to reproduce the behavior:

  1. Create a new BikeTag Post
  2. Create another BikeTag Post
  3. Wait for the tag to be autoposted
  4. See that the queue is cleared and the found image for the losing BikeTag Post was saved, but the image is not saved in the BikeDex album for that game

Expected behavior The tags should end up in the BikeDex album for later use.

Additional context This is more than likely a fix in the biketag-api project, within the archiveTag method: https://github.com/KenEucker/biketag-api/blob/production/src/imgur/archiveTag.ts

Once we have this working we can begin to work on fixing the display of these images on Player profiles.

Contributor guide