• Micheal Mand's avatar
    Prevent race conditions by getting fresh data · 5a3ebbcb
    Micheal Mand authored
    If two of the same tag were to be supplied, both would be created (or attempt to be created, because the second one will fail DB unique index and throw an error). We can prevent this by fetching fresh data from the database before checking.
    5a3ebbcb
Name
Last commit
Last update
..
Core Loading commit data...
Dashboard Loading commit data...
Media Loading commit data...
Menu Loading commit data...
Page Loading commit data...
Setting Loading commit data...
Tag Loading commit data...
Translation Loading commit data...
User Loading commit data...
Workshop Loading commit data...