Skip to content

Commit

Permalink
fix : add Component to idGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoBouttes committed Jul 3, 2024
1 parent 20c8cc6 commit 0c23496
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/fr/insee/rmes/utils/IdGenerator.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package fr.insee.rmes.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

@Component
public class IdGenerator {
public String generateNextId() {
UUID uuid = UUID.randomUUID();
Expand Down

0 comments on commit 0c23496

Please sign in to comment.