TODO comment in ImageListener

This commit is contained in:
Aleksei 2020-02-27 00:51:19 -05:00
parent 801ed71b38
commit 8b05297c4c

View File

@ -65,7 +65,7 @@ public class ImageListener implements MessageCreateListener {
.setSubmitter(event.getMessageAuthor().getIdAsString()) .setSubmitter(event.getMessageAuthor().getIdAsString())
.setCreated(new Timestamp(upload.getDateTime())); .setCreated(new Timestamp(upload.getDateTime()));
GalleryController.getTag(channel.getIdAsString()).thenAccept(outfitBuilder::setTag).join(); GalleryController.getTag(channel.getIdAsString()).thenAccept(outfitBuilder::setTag).join(); // TODO: Wrap this around the insert, don't join no moah
Outfit outfit = outfitBuilder.build(); Outfit outfit = outfitBuilder.build();
OutfitController.insert(outfit).join(); OutfitController.insert(outfit).join();