i don't have a testing thing locally so i'm flooding with commits sorry
This commit is contained in:
parent
c9889911bb
commit
b357de7371
|
@ -55,7 +55,7 @@ sub GetPaste {
|
|||
return schema->resultset('Paste')->single( {
|
||||
[ -and =>
|
||||
{ id => $id },
|
||||
{ expiration => { '>=' => DateTimeToQueryable() }, expiration => undef }
|
||||
{ expiration => { '>=' => DateTimeToQueryable(), undef} }
|
||||
] } ) || undef;
|
||||
}
|
||||
sub StorePaste {
|
||||
|
|
Loading…
Reference in New Issue