ci
This commit is contained in:
@ -36,7 +36,11 @@ public class PasteService {
|
||||
* @return The id of the paste.
|
||||
*/
|
||||
public String createPaste(String content) {
|
||||
return pasteRepository.save(new Paste(RandomStringUtils.randomAlphabetic(idLength), content)).getId();
|
||||
return pasteRepository.save(new Paste(
|
||||
RandomStringUtils.randomAlphabetic(idLength),
|
||||
System.currentTimeMillis(),
|
||||
content
|
||||
)).getId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user