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( {
|
return schema->resultset('Paste')->single( {
|
||||||
[ -and =>
|
[ -and =>
|
||||||
{ id => $id },
|
{ id => $id },
|
||||||
{ expiration => { '>=' => DateTimeToQueryable() }, expiration => undef }
|
{ expiration => { '>=' => DateTimeToQueryable(), undef} }
|
||||||
] } ) || undef;
|
] } ) || undef;
|
||||||
}
|
}
|
||||||
sub StorePaste {
|
sub StorePaste {
|
||||||
|
|
Loading…
Reference in New Issue