# HG changeset patch # User Kim Alvefur # Date 1636053427 -3600 # Node ID 88f5e12c835140cf6898df5fa29cdde64fa6420d # Parent d29a295cd16559e8c22ae5096274ebe81344c98a mod_rest: Imply type=set for archive queries This is what makes GET /archive/{to} do the query instead of retrieve the form only. diff -r d29a295cd165 -r 88f5e12c8351 mod_rest/jsonmap.lib.lua --- a/mod_rest/jsonmap.lib.lua Thu Nov 04 20:15:44 2021 +0100 +++ b/mod_rest/jsonmap.lib.lua Thu Nov 04 20:17:07 2021 +0100 @@ -401,6 +401,7 @@ local implied_types = { command = "set", + archive = "set", } local kind_by_type = {