mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-13 08:19:17 +00:00
fix: Undefined values crashing the request (#476)
This commit is contained in:
25
.bruno/fixes/474-queries-crashing-the-server.bru
Normal file
25
.bruno/fixes/474-queries-crashing-the-server.bru
Normal file
@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: 474 - Queries crashing the server
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/cards?legal.standard=true
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
legal.standard: true
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
|
||||
docs {
|
||||
Validate the issue seen in
|
||||
|
||||
https://github.com/tcgdex/cards-database/issues/474
|
||||
}
|
Reference in New Issue
Block a user