Skip to content

Commit

Permalink
Merge pull request #369 from ArtisanCloud/develop
Browse files Browse the repository at this point in the history
refact(base): remove Temporary max limit
  • Loading branch information
Matrix-X authored Aug 4, 2023
2 parents 1555fb4 + 7ea9325 commit 1156e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basicService/qrCode/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (comp *Client) Temporary(ctx context.Context, sceneValue interface{}, expir
switch sceneValue.(type) {
case int:
value := sceneValue.(int)
if value > 0 && value < SCENE_MAX_VALUE {
if value > 0 {
data.ActionName = SCENE_QR_TEMPORARY
data.ActionInfo.Scene = &object.HashMap{
"scene_id": sceneValue,
Expand Down

0 comments on commit 1156e1f

Please sign in to comment.