1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Remove the paste-specific autoDelete field

This commit is contained in:
Lukas Schulte Pelkum
2021-07-30 21:51:33 +02:00
parent 4f3b5b193b
commit 1818fac196
12 changed files with 28 additions and 30 deletions

View File

@@ -13,7 +13,6 @@ type Paste struct {
DeletionToken string `json:"deletionToken,omitempty" bson:"deletionToken"` // Required for legacy paste storage support
ModificationToken string `json:"modificationToken,omitempty" bson:"modificationToken"`
Created int64 `json:"created" bson:"created"`
AutoDelete bool `json:"autoDelete" bson:"autoDelete"`
Metadata map[string]interface{} `json:"metadata" bson:"metadata"`
}