Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): relayer config auth #1322

Merged
merged 19 commits into from
Dec 11, 2024
Merged
Prev Previous commit
Next Next commit
Update api/relayer-config.ts
Co-authored-by: James Morris, MS <96435344+james-a-morris@users.noreply.github.com>
md0x and james-a-morris authored Dec 11, 2024
commit 12dfda997951f97b6cfac98888ee6dd26e9ef56e
2 changes: 1 addition & 1 deletion api/relayer-config.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ const handlePostRequest = async (
) => {
const body = request.body as RelayerConfigUpdate;
const { authorization } = request.headers;
const { timestamp, relayerFillLimits } = body;
const { timestamp } = body;
if (!isTimestampValid(timestamp, MAX_MESSAGE_AGE_SECONDS)) {
return response.status(400).json({ message: "Message too old" });
}