mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Relax REST API validation
This commit is contained in:
parent
beb8b1ee92
commit
6675c0e93b
@ -5,7 +5,7 @@
|
||||
const _ = require('lodash');
|
||||
const BbPromise = require('bluebird');
|
||||
|
||||
const isRestApiId = RegExp.prototype.test.bind(/^[a-z0-9]{10}$/);
|
||||
const isRestApiId = RegExp.prototype.test.bind(/^[a-z0-9]{3,}$/);
|
||||
|
||||
// NOTE --> Keep this file in sync with ../stage.js
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user